From 0df1b49f3d256326e47ce8fa881062021eb4e59e Mon Sep 17 00:00:00 2001 From: eyck Date: Sun, 3 Feb 2002 20:27:20 +0000 Subject: Juergen Kreileder changes, fixing some lintian errors, adding correct manpath and adding xvidix to array of system-selectable drivers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4522 b3059339-0415-0410-9bf9-f77b7e298cf2 --- debian/config | 5 +++-- debian/dirs | 2 +- debian/postinst | 2 +- debian/rules | 9 ++++++--- 4 files changed, 11 insertions(+), 7 deletions(-) (limited to 'debian') diff --git a/debian/config b/debian/config index e78546ec40..3084a67bdb 100755 --- a/debian/config +++ b/debian/config @@ -3,7 +3,8 @@ # Script to configure mplayer # based on etherconf by John Goerzen -use Debian::DebConf::Client::ConfModule qw(:all); +use Debconf::Client::ConfModule qw(:all); + my $version = version(2.0); title('MPlayer Configuration'); @@ -48,7 +49,7 @@ sub letsgo { } sub configure { - subst("mplayer/voutput", "vochoices", "xv, xmga, mga, x11, gl, sdl"); + subst("mplayer/voutput", "vochoices", "xv, xmga, mga, x11, gl, sdl, xvidix"); # db_subst mplayer/output vo xc,xmga,mga,x11,gl,sdl exit(0) if (input($PRIORITY, "mplayer/voutput") eq "question skipped"); go(); diff --git a/debian/dirs b/debian/dirs index e972d27203..c2d7eef0c8 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,4 +1,4 @@ usr/bin -usr/sbin usr/share/man/man1 usr/share/mplayer +usr/lib/mplayer diff --git a/debian/postinst b/debian/postinst index bb9f201bfd..5653828639 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,7 +4,7 @@ require ConfHelper; -use Debian::DebConf::Client::ConfModule qw(:all); +use Debconf::Client::ConfModule qw(:all); use IO::Handle; use Fcntl; my $version = version(1.0); diff --git a/debian/rules b/debian/rules index 28cc4ec70c..7690536e0d 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,8 @@ export DH_COMPAT=3 package := mplayer -prefix := debian/$(package) +prefix := $(shell pwd)/debian/$(package) + arch := $(shell dpkg --print-architecture) ifeq ($(arch),powerpc) @@ -53,8 +54,10 @@ binary-arch: build dh_installdirs # commands to install the package into debian/ - $(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer install - dh_link usr/bin/mplayer usr/bin/gmplayer + $(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install + dh_link usr/bin/mplayer usr/bin/gmplayer \ + usr/share/man/man1/mplayer.1.gz usr/share/man/man1/gmplayer.1.gz + dh_installdebconf dh_installdocs DOCS/* -- cgit v1.2.3