From a0a7e284efd290db2ccf0f43cd857bfb230639c1 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 14 Nov 2004 14:24:18 +0000 Subject: More detailed Debian package building instructions, based on a patch by Guillaume Poirier git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13940 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/ports.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'DOCS') diff --git a/DOCS/xml/en/ports.xml b/DOCS/xml/en/ports.xml index 0fbbd4c536..acdd9057cc 100644 --- a/DOCS/xml/en/ports.xml +++ b/DOCS/xml/en/ports.xml @@ -18,8 +18,26 @@ Report problems to the authors, not to us. To build a Debian package, run the following command in the MPlayer source directory: + fakeroot debian/rules binary + +If you want to pass custom options to configure, you can set up the +DEB_BUILD_OPTIONS environment variable. For instance, +if you want GUI and OSD menu support you would use: + +DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary + +You can also pass some variables to the Makefile. For example, if you want +to compile with gcc 3.4 even if it's not the default compiler: + +CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules binary + +To clean up the source tree run the following command: + +fakeroot debian/rules clean + As root you can then install the .deb package as usual: + dpkg -i ../mplayer_version.deb -- cgit v1.2.3