Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
[mplayer/glamo.git] / debian / rules
blobc486af5dff490395791c40e0be8ccd6b76c3ec79
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.
4 #export DH_VERBOSE=1
5 # This is the debhelper compatability version to use.
6 export DH_COMPAT=4
8 package := mplayer
9 prefix := $(shell pwd)/debian/$(package)
11 arch := $(shell dpkg --print-architecture)
14 configure: configure-stamp
15 configure-stamp:
16 dh_testdir
17 # Add here commands to configure the package.
18 $(checkdir)
19 # If you plan to install the target .deb on a wide variety of machines,
20 # you may want to add the "--enable-runtime-cpudetection" option to
21 # the line below, but beware: the resulting binary will run slower
22 ./configure --prefix=/usr --confdir=/etc/mplayer $(DEB_BUILD_OPTIONS)
24 touch configure-stamp
26 build: configure-stamp build-stamp
27 build-stamp:
28 dh_testdir
30 # commands to compile the package.
31 ${MAKE}
33 touch build-stamp
35 clean:
36 dh_testdir
37 dh_testroot
38 rm -f build-stamp configure-stamp
40 # commands to clean up after the build process.
41 -$(MAKE) distclean
42 rm -f help_mp.h config.h config.mak
43 dh_clean
45 # Build architecture-independent files here.
46 binary-indep: build
47 # We have nothing to do by default.
49 # Build architecture-dependent files here.
50 binary-arch: build
51 dh_testdir
52 dh_testroot
53 dh_clean -k
54 dh_installdirs
56 # commands to install the package into debian/<packagename>
57 $(MAKE) prefix=$(prefix)/usr BINDIR=$(prefix)/usr/bin CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install
59 dh_link usr/bin/mplayer usr/bin/gmplayer \
60 usr/share/man/man1/mplayer.1.gz usr/share/man/man1/gmplayer.1.gz
63 dh_installdebconf
64 dh_installdocs -X.svn -Xmplayer.1 DOCS/*
65 dh_installexamples etc/example.conf etc/dvb-menu.conf etc/input.conf etc/menu.conf
66 dh_installmenu
67 dh_installmime
68 dh_installinfo
69 dh_installchangelogs
70 #ChangeLog
71 dh_link
72 dh_strip
73 dh_compress
74 dh_fixperms
75 dh_makeshlibs
76 dh_installdeb
77 dh_perl
78 dh_shlibdeps
79 dh_gencontrol
80 dh_md5sums
81 dh_builddeb
85 #binary-arch: checkroot build
86 # $(checkdir)
87 # -rm -rf debian/tmp
88 # install -d debian/tmp
89 # cd debian/tmp && install -d `cat ../dirs`
92 # Must have debmake installed for this to work. Otherwise please copy
93 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd
94 # debstd
95 # dpkg-gencontrol -isp
96 # chown -R root.root debian/tmp
97 # chmod -R go=rX debian/tmp
98 # dpkg --build debian/tmp ..
100 binary: binary-indep binary-arch
102 .PHONY: binary binary-arch binary-indep clean checkroot