1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/browsers/firefox/builder.sh
Eelco Dolstra ee672a7456 * Use browser/config/mozconfig to get a more "standard" Firefox
build.  The find bar now works properly (don't know why).
* Delete developer stuff (header files) after installation.

svn path=/nixpkgs/trunk/; revision=1463
2004-09-19 14:13:24 +00:00

28 lines
573 B
Bash

. $stdenv/setup
preConfigure=preConfigure
preConfigure() {
cat > .mozconfig <<EOF
. \$topsrcdir/browser/config/mozconfig
ac_add_options --prefix=$out
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-xft
ac_add_options --enable-swg
ac_add_options --enable-strip
ac_add_options --enable-default-toolkit=gtk2
#ac_add_options --disable-shared
#ac_add_options --enable-static
EOF
}
makeFlags="-f client.mk build"
genericBuild
# Strip some more stuff
strip -S $out/lib/*/* || true
# We don't need this (do we?)
rm -rf $out/include