aboutsummaryrefslogtreecommitdiff
path: root/tools/Linux/packaging/README.debian
blob: 6313c5833d0d0b4c961a051ca45e1faa8219a6f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- How to build a XBMC debian package ---

There are two available build methods:
1.) debuild / debhelper
  Requirements: debhelper, devscripts, all Xbmc build deps 
      sudo apt-get install debhelper devscripts
      sudo apt-get build-dep xbmc (if you have on of our repos/ppas added, else read docs/README.linux or docs/README.ubuntu)

  Result: debian package for your host distribution and architecture only
  Recommended for local installs

  Example Usage: ./mk-debian-package.sh

2.) pdebuild / pbuilder 
  Requirements: pbuilder, devscripts, proper pbuilder environment
      For a comprehensive example how to setup pbuilder read: 
      https://wiki.ubuntu.com/PbuilderHowto

  Result: debian package for arbitrary debian based distributions and architectures
  Recommended for hosting your own apt repository or (clean room) compile testing for various distributions

  Example Usage:
  RELEASEV=13 \
  DISTS=-"unstable" \
  ARCHS="i386 amd64" \
  BUILDER="pdebuild" \
  PDEBUILD_OPTS="--debbuildopts \"-j4\"" \
  PBUILDER_BASE="/home/$USER/xbmc-packaging/pbuilder" \
  DPUT_TARGET="local" \
  ./mk-debian-package.sh