Project

General

Profile

Packaging » History » Version 5

John Törnblom, 2012-09-07 12:35

1 1 Adam Sutton
h1. Packaging
2
3
To be able to install TVHeadend permanently on your system, or distribute to others, its highly recommend that you build a package.
4
5
But before you can do this make sure you have read the basic build instructions [[Building|here]]
6
7
Different distributions will have different package formats, however TVHeadend comes with scripts to help build several common ones.
8
9 2 Adam Sutton
h2. Ubuntu / Debian
10 1 Adam Sutton
11
To build a deb package for the latest version of Ubuntu (Precise, at the time of writing) you can do the following:
12
13
> x86 32-bit
14
<pre>
15
$ ./AutoBuild.sh -t precise-i386
16
</pre>
17
18
> x86 64-bit
19
<pre>
20
$ ./AutoBuild.sh -t precise-amd64
21
</pre>
22 2 Adam Sutton
23
Note: Although the scripts are named precise (for Ubuntu 12.04) they will work just fine with most recent versions of Debian/Ubuntu.
24 1 Adam Sutton
25 3 Adam Sutton
Note: the generated deb will be in the directory above that containing Autobuild.sh (i.e. outside of the tvheadend directory).
26
27 4 Adam Sutton
Note: the -dbg package contains debug symbols, generally you won't need these.
28
29 1 Adam Sutton
h2. Redhat/CentOS/Fedora
30
31
TODO: add info on building an RPM
32
33
h2. Gentoo
34
35 5 John Törnblom
tvheadend is now available in portage so you can just install it like you usually do with other applications:
36
<pre>
37
$ emerge -av media-tv/tvheadend
38
</pre>
39 1 Adam Sutton
40
h2. Package Maintainers
41
42
If you wish to become a package maintainer for your favourite distribution, please contact a member of the development [[Team|team]].