# HG changeset patch # User diego # Date 1100442258 0 # Node ID 25db6ab99ff39cd98a3604753f8f2e40c77b7178 # Parent 36d3f6bc2a0b1fc130bd3b59764c471e4635be65 More detailed Debian package building instructions, based on a patch by Guillaume Poirier diff -r 36d3f6bc2a0b -r 25db6ab99ff3 DOCS/xml/en/ports.xml --- a/DOCS/xml/en/ports.xml Sun Nov 14 14:04:51 2004 +0000 +++ b/DOCS/xml/en/ports.xml Sun Nov 14 14:24:18 2004 +0000 @@ -18,8 +18,26 @@ 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