Mercurial > mplayer.hg
comparison README @ 13874:09298a8ba1eb
Explain how to use custom options while building Debian packages, based on a
patch by Guillaume Poirier.
author | diego |
---|---|
date | Fri, 05 Nov 2004 10:38:33 +0000 |
parents | a8925b9fc147 |
children | 8c8a845422f4 |
comparison
equal
deleted
inserted
replaced
13873:89bbd098cfda | 13874:09298a8ba1eb |
---|---|
169 NOTE: If you run Debian you can configure, compile and build a proper Debian | 169 NOTE: If you run Debian you can configure, compile and build a proper Debian |
170 .deb package with only one command: | 170 .deb package with only one command: |
171 | 171 |
172 fakeroot debian/rules binary | 172 fakeroot debian/rules binary |
173 | 173 |
174 If you want to pass custom options to configure, you can set up the | |
175 DEB_BUILD_OPTIONS environment variable. For instance, if you want GUI | |
176 and OSD menu support you would use: | |
177 | |
178 DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary | |
179 | |
180 You can also pass some variables to the Makefile. For example, if you want | |
181 to compile with gcc 3.4 even if it's not the default compiler: | |
182 | |
183 CC=gcc-3.4 DEB_BUILD_OPTIONS="--enable-gui" fakeroot debian/rules clean | |
184 | |
185 To clean up the source tree run the following command: | |
186 | |
187 fakeroot debian/rules clean | |
174 | 188 |
175 ____________________________________________ | 189 ____________________________________________ |
176 STEP5: Installing the onscreen display fonts | 190 STEP5: Installing the onscreen display fonts |
177 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 191 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
178 | 192 |