Mercurial > mplayer.hg
annotate debian/rules @ 1680:f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
author | jkeil |
---|---|
date | Fri, 24 Aug 2001 16:20:04 +0000 |
parents | a7a5a500d295 |
children | b3d87a57b6f4 |
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. | |
6 export DH_COMPAT=1 | |
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) |
821 | 15 ./configure --prefix=/usr |
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 |
1397 | 27 |
28 touch build-stamp | |
18 | 29 |
30 clean: | |
1397 | 31 dh_testdir |
32 dh_testroot | |
33 rm -f build-stamp configure-stamp | |
18 | 34 |
1397 | 35 # Add here commands to clean up after the build process. |
36 #-$(MAKE) clean | |
37 # $(checkdir) | |
38 # -rm -f build | |
39 # -$(MAKE) distclean | |
40 # -rm -f `find . -name "*~"` | |
41 # -rm -rf debian/tmp debian/files* core debian/substvars | |
42 dh_clean | |
18 | 43 |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
44 |
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
45 |
1397 | 46 install: build |
47 dh_testdir | |
48 dh_testroot | |
49 dh_clean -k | |
50 dh_installdirs | |
51 | |
52 # Add here commands to install the package into debian/<packagename> | |
53 # $(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install | |
1667 | 54 # $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr |
55 install -d $(CURDIR)/debian/tmp/usr/bin | |
56 install -m 755 -s mplayer $(CURDIR)/debian/tmp/usr/bin/mplayer | |
57 #Do we really need this?: | |
58 # install -o root -g root -m 4755 fibmap_mplayer usr/bin/fibmap_mplayer | |
59 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
60 |
1397 | 61 # Build architecture-independent files here. |
62 binary-indep: build install | |
63 # We have nothing to do by default. | |
64 | |
65 | |
66 # Build architecture-dependent files here. | |
67 binary-arch: build install | |
68 dh_testdir | |
69 dh_testroot | |
70 dh_installdebconf | |
1634
3249bbc48bf9
Changes to debian packaging based on patches by Josip Rodin (joy debian org)
eyck
parents:
1397
diff
changeset
|
71 dh_installdocs DOCS/* |
1397 | 72 dh_installexamples |
73 dh_installmenu | |
74 # dh_installlogrotate | |
75 # dh_installemacsen | |
76 # dh_installpam | |
77 # dh_installmime | |
78 # dh_installinit | |
79 # dh_installcron | |
1670 | 80 dh_installmanpages DOCS/mplayer.1 |
1397 | 81 dh_installinfo |
82 # dh_undocumented | |
83 dh_installchangelogs | |
84 dh_link | |
85 dh_strip | |
86 dh_compress | |
87 dh_fixperms | |
88 # dh_makeshlibs | |
89 dh_installdeb | |
90 dh_perl | |
91 dh_shlibdeps | |
92 dh_gencontrol | |
93 dh_md5sums | |
94 dh_builddeb | |
95 | |
96 | |
97 | |
98 #binary-arch: checkroot build | |
99 # $(checkdir) | |
100 # -rm -rf debian/tmp | |
101 # install -d debian/tmp | |
102 # cd debian/tmp && install -d `cat ../dirs` | |
103 | |
845
29a3f57d5e1d
spellcheck, start of integration with debian menu system, /etc/mplayer.conf
eyck
parents:
821
diff
changeset
|
104 |
18 | 105 # Must have debmake installed for this to work. Otherwise please copy |
106 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd | |
1397 | 107 # debstd |
108 # dpkg-gencontrol -isp | |
109 # chown -R root.root debian/tmp | |
110 # chmod -R go=rX debian/tmp | |
111 # dpkg --build debian/tmp .. | |
18 | 112 |
113 binary: binary-indep binary-arch | |
114 | |
115 .PHONY: binary binary-arch binary-indep clean checkroot |