diff options
Diffstat (limited to 'pkgs/applications/networking/browsers')
-rwxr-xr-x | pkgs/applications/networking/browsers/firebird/builder.sh | 30 | ||||
-rw-r--r-- | pkgs/applications/networking/browsers/firebird/default.fix | 25 |
2 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firebird/builder.sh b/pkgs/applications/networking/browsers/firebird/builder.sh new file mode 100755 index 0000000000000..36225b5760db0 --- /dev/null +++ b/pkgs/applications/networking/browsers/firebird/builder.sh @@ -0,0 +1,30 @@ +#! /bin/sh + +buildinputs="$pkgconfig $gtk $perl $zip $libIDL" +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +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 diff --git a/pkgs/applications/networking/browsers/firebird/default.fix b/pkgs/applications/networking/browsers/firebird/default.fix new file mode 100644 index 0000000000000..b17b4a0e47315 --- /dev/null +++ b/pkgs/applications/networking/browsers/firebird/default.fix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL +}: + +assert !isNull pkgconfig && !isNull gtk && !isNull perl + && !isNull zip && !isNull libIDL; + +assert libIDL.glib == gtk.glib; + +derivation { + name = "MozillaFirebird-0.7"; + system = stdenv.system; + + builder = ./builder.sh; + src = fetchurl { + url = ftp://ftp.mozilla.org/pub/mozilla.org/firebird/releases/0.7/MozillaFirebird-source-0.7.tar.gz; + md5 = "35112566a3dca5bdf363972056afc462"; + }; + + stdenv = stdenv; + pkgconfig = pkgconfig; + gtk = gtk; + perl = perl; + zip = zip; + libIDL = libIDL; +} |