2003-08-13 19:29:52 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-08-18 21:52:54 +02:00
|
|
|
envpkgs="$gtk $libIDL"
|
2003-08-13 19:29:52 +02:00
|
|
|
. $stdenv/setup || exit 1
|
2003-08-25 15:34:12 +02:00
|
|
|
export PATH=$pkgconfig/bin:$perl/bin:$zip/bin:$unzip/bin:$PATH
|
2003-08-13 19:29:52 +02:00
|
|
|
|
2003-10-17 12:13:18 +02:00
|
|
|
tar xvfz $src || exit 1
|
2003-08-13 19:29:52 +02:00
|
|
|
cd mozilla || exit 1
|
|
|
|
|
|
|
|
cat > .mozconfig <<EOF
|
|
|
|
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
|
|
|
|
echo "ac_add_options --prefix=$out" >> .mozconfig
|
|
|
|
|
|
|
|
./configure || exit 1
|
|
|
|
make -f client.mk build || exit 1
|
|
|
|
make install || exit 1
|