Mercurial > mplayer.hg
annotate debian/rules @ 4393:177e31fc74eb
ETA/Esize for 3pass encoding from stdin
author | arpi |
---|---|
date | Sun, 27 Jan 2002 21:37:46 +0000 |
parents | a77ce64a7066 |
children | 0737156ad1f0 |
rev | line source |
---|---|
18 | 1 #!/usr/bin/make -f |
2 # Made with the aid of debmake, by Christoph Lameter, | |
3 # based on the sample debian/rules file for GNU hello by Ian Jackson. | |
1397 | 4 #export DH_VERBOSE=1 |
5 # This is the debhelper compatability version to use. | |
3974
90e7917f945f
Clean up - no longer needed comments, commented out older version of solutions.
eyck
parents:
3971
diff
changeset
|
6 export DH_COMPAT=3 |
18 | 7 |
3632 | 8 package := mplayer |
9 prefix := debian/$(package) | |
10 arch := $(shell dpkg --print-architecture) | |
11 | |
12 ifeq ($(arch),powerpc) | |
13 arch-conf += --disable-mp1e | |
14 endif | |
15 | |
18 | 16 |
1397 | 17 configure: configure-stamp |
18 configure-stamp: | |
19 dh_testdir | |
20 # Add here commands to configure the package. | |
18 | 21 $(checkdir) |
4059 | 22 ./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui $(DEB_BUILD_OPTIONS) |
1397 | 23 |
24 touch configure-stamp | |
25 | |
26 build: configure-stamp build-stamp | |
27 build-stamp: | |
28 dh_testdir | |
29 | |
3632 | 30 # commands to compile the package. |
31 ${MAKE} | |
1397 | 32 |
33 touch build-stamp | |
18 | 34 |
35 clean: | |
1397 | 36 dh_testdir |
37 dh_testroot | |
38 rm -f build-stamp configure-stamp | |
18 | 39 |
3632 | 40 # commands to clean up after the build process. |
1719 | 41 -$(MAKE) distclean |
1397 | 42 dh_clean |
18 | 43 |
3632 | 44 # Build architecture-independent files here. |
45 binary-indep: build | |
46 # We have nothing to do by default. | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
47 |
3632 | 48 # Build architecture-dependent files here. |
49 binary-arch: build | |
1397 | 50 dh_testdir |
51 dh_testroot | |
52 dh_clean -k | |
53 dh_installdirs | |
54 | |
3632 | 55 # commands to install the package into debian/<packagename> |
3989 | 56 $(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer install |
2759
ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
eyck
parents:
1862
diff
changeset
|
57 dh_link usr/bin/mplayer usr/bin/gmplayer |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
58 |
1397 | 59 dh_installdebconf |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
60 dh_installdocs DOCS/* |
1733
220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
eyck
parents:
1721
diff
changeset
|
61 dh_installexamples etc/example.conf |
1397 | 62 dh_installmenu |
63 # dh_installmime | |
64 dh_installinfo | |
65 dh_installchangelogs | |
66 dh_link | |
67 dh_strip | |
68 dh_compress | |
69 dh_fixperms | |
70 # dh_makeshlibs | |
71 dh_installdeb | |
72 dh_perl | |
73 dh_shlibdeps | |
74 dh_gencontrol | |
75 dh_md5sums | |
76 dh_builddeb | |
77 | |
78 | |
79 | |
80 #binary-arch: checkroot build | |
81 # $(checkdir) | |
82 # -rm -rf debian/tmp | |
83 # install -d debian/tmp | |
84 # cd debian/tmp && install -d `cat ../dirs` | |
85 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
86 |
18 | 87 # Must have debmake installed for this to work. Otherwise please copy |
88 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 89 # debstd |
90 # dpkg-gencontrol -isp | |
91 # chown -R root.root debian/tmp | |
92 # chmod -R go=rX debian/tmp | |
93 # dpkg --build debian/tmp .. | |
18 | 94 |
95 binary: binary-indep binary-arch | |
96 | |
97 .PHONY: binary binary-arch binary-indep clean checkroot |