2004-03-30 19:28:41 +02:00
|
|
|
. $stdenv/setup
|
2003-11-07 12:18:47 +01:00
|
|
|
|
|
|
|
|
2004-03-30 19:28:41 +02:00
|
|
|
preConfigure() {
|
|
|
|
cat > .mozconfig <<EOF
|
2003-11-07 12:18:47 +01:00
|
|
|
export MOZ_PHOENIX=1
|
|
|
|
mk_add_options MOZ_PHOENIX=1
|
|
|
|
ac_add_options --enable-crypto
|
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
|
|
|
ac_add_options --disable-mailnews
|
|
|
|
ac_add_options --disable-composer
|
|
|
|
ac_add_options --enable-optimize=-O2
|
|
|
|
ac_add_options --disable-ldap
|
|
|
|
ac_add_options --disable-mailnews
|
|
|
|
ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
|
|
|
|
ac_add_options --enable-xft
|
|
|
|
ac_add_options --enable-swg
|
|
|
|
ac_add_options --enable-strip
|
|
|
|
ac_add_options --enable-default-toolkit=gtk2
|
|
|
|
EOF
|
2004-03-30 19:28:41 +02:00
|
|
|
echo "ac_add_options --prefix=$out" >> .mozconfig
|
|
|
|
}
|
|
|
|
preConfigure=preConfigure
|
2003-11-07 12:18:47 +01:00
|
|
|
|
2004-03-30 19:28:41 +02:00
|
|
|
|
|
|
|
makeFlags="-f client.mk build"
|
|
|
|
|
|
|
|
genericBuild
|