Mercurial > mplayer.hg
annotate debian/rules @ 2759:ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
<hartge@ds9.argh.org> )
author | eyck |
---|---|
date | Wed, 07 Nov 2001 10:06:51 +0000 |
parents | 2fa80ba21968 |
children | ab3cc8156c3d |
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. | |
1759
df6660716f69
re-install install dir, which I removed before I checked what's causing problems
eyck
parents:
1733
diff
changeset
|
6 export DH_COMPAT=2 |
18 | 7 |
8 package=mplayer | |
9 | |
1397 | 10 configure: configure-stamp |
11 configure-stamp: | |
12 dh_testdir | |
13 # Add here commands to configure the package. | |
18 | 14 $(checkdir) |
2759
ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
eyck
parents:
1862
diff
changeset
|
15 ./configure --prefix=/usr --enable-gui --enable-streaming |
1397 | 16 |
17 touch configure-stamp | |
18 | |
19 build: configure-stamp build-stamp | |
20 build-stamp: | |
21 dh_testdir | |
22 | |
23 # Add here commands to compile the package. | |
24 #$(MAKE) | |
25 #/usr/bin/docbook-to-man debian/etherconf.sgml > etherconf.1 | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
26 ${MAKE} mplayer |
2759
ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
eyck
parents:
1862
diff
changeset
|
27 ${MAKE} mencoder |
1397 | 28 |
29 touch build-stamp | |
18 | 30 |
31 clean: | |
1397 | 32 dh_testdir |
33 dh_testroot | |
34 rm -f build-stamp configure-stamp | |
18 | 35 |
1397 | 36 # Add here commands to clean up after the build process. |
37 #-$(MAKE) clean | |
38 # $(checkdir) | |
39 # -rm -f build | |
1719 | 40 -$(MAKE) distclean |
1397 | 41 # -rm -f `find . -name "*~"` |
1760
d40da1ac8a9f
that's more like it, who's intimidating who now, big city, eh?
eyck
parents:
1759
diff
changeset
|
42 # -rm -rf debian/tmp debian/files* core debian/substvars |
1397 | 43 dh_clean |
18 | 44 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
45 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
46 |
1397 | 47 install: build |
48 dh_testdir | |
49 dh_testroot | |
50 dh_clean -k | |
51 dh_installdirs | |
52 | |
53 # Add here commands to install the package into debian/<packagename> | |
54 # $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install | |
1667 | 55 # $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr |
1760
d40da1ac8a9f
that's more like it, who's intimidating who now, big city, eh?
eyck
parents:
1759
diff
changeset
|
56 # install -d $(CURDIR)/debian/tmp/usr/bin |
1862
2fa80ba21968
package is built in 'mplayer' not 'tmp' now. debian/rules did not reflect that. fixed.
eyck
parents:
1760
diff
changeset
|
57 install -m 755 -s mplayer $(CURDIR)/debian/`dh_listpackages`/usr/bin/mplayer |
2759
ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
eyck
parents:
1862
diff
changeset
|
58 dh_link usr/bin/mplayer usr/bin/gmplayer |
ce39b5cc7e16
add gui, this way we can finally add usable entry to menus. ( Sveg Hartge
eyck
parents:
1862
diff
changeset
|
59 |
1667 | 60 #Do we really need this?: |
61 # install -o root -g root -m 4755 fibmap_mplayer usr/bin/fibmap_mplayer | |
62 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
63 |
1397 | 64 # Build architecture-independent files here. |
65 binary-indep: build install | |
66 # We have nothing to do by default. | |
67 | |
68 | |
69 # Build architecture-dependent files here. | |
70 binary-arch: build install | |
71 dh_testdir | |
72 dh_testroot | |
73 dh_installdebconf | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
74 dh_installdocs DOCS/* |
1733
220f86ac8c15
examples and started cleanup of rules by andre.dahlqvist@telia.com
eyck
parents:
1721
diff
changeset
|
75 dh_installexamples etc/example.conf |
1397 | 76 dh_installmenu |
77 # dh_installmime | |
1721
1548cfd585e3
No need for TVout/fbset/fbset.8, it conflicts with the one distributed by debian
eyck
parents:
1720
diff
changeset
|
78 dh_installmanpages TVout/fbset/fb.modes.5 TVout/fbset/fbset.8 |
1397 | 79 dh_installinfo |
80 # dh_undocumented | |
81 dh_installchangelogs | |
82 dh_link | |
83 dh_strip | |
84 dh_compress | |
85 dh_fixperms | |
86 # dh_makeshlibs | |
87 dh_installdeb | |
88 dh_perl | |
89 dh_shlibdeps | |
90 dh_gencontrol | |
91 dh_md5sums | |
92 dh_builddeb | |
93 | |
94 | |
95 | |
96 #binary-arch: checkroot build | |
97 # $(checkdir) | |
98 # -rm -rf debian/tmp | |
99 # install -d debian/tmp | |
100 # cd debian/tmp && install -d `cat ../dirs` | |
101 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
102 |
18 | 103 # Must have debmake installed for this to work. Otherwise please copy |
104 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 105 # debstd |
106 # dpkg-gencontrol -isp | |
107 # chown -R root.root debian/tmp | |
108 # chmod -R go=rX debian/tmp | |
109 # dpkg --build debian/tmp .. | |
18 | 110 |
111 binary: binary-indep binary-arch | |
112 | |
113 .PHONY: binary binary-arch binary-indep clean checkroot |