From 6b08880f80ca82a0d8fa78259152977752efc305 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Aug 2003 17:29:52 +0000 Subject: [PATCH] * Added Mozilla Firebird (with gtk2 and antialiasing). svn path=/nixpkgs/trunk/; revision=280 --- pkgs/firebird/firebird-build.sh | 35 +++++++++++++++++++++++++++++++++ pkgs/firebird/firebird.fix | 17 ++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100755 pkgs/firebird/firebird-build.sh create mode 100644 pkgs/firebird/firebird.fix diff --git a/pkgs/firebird/firebird-build.sh b/pkgs/firebird/firebird-build.sh new file mode 100755 index 000000000000..29241e0894f6 --- /dev/null +++ b/pkgs/firebird/firebird-build.sh @@ -0,0 +1,35 @@ +#! /bin/sh + +export NIX_LDFLAGS=-Wl,-s + +. $stdenv/setup || exit 1 + +export PATH=$pkgconfig/bin:$PATH +envpkgs="$gtk $libIDL" +. $setenv || exit 1 + +tar xvfj $src || exit 1 +cd mozilla || exit 1 + +cat > .mozconfig <> .mozconfig + +./configure || exit 1 +make -f client.mk build || exit 1 +make install || exit 1 diff --git a/pkgs/firebird/firebird.fix b/pkgs/firebird/firebird.fix new file mode 100644 index 000000000000..0dc503ad6acf --- /dev/null +++ b/pkgs/firebird/firebird.fix @@ -0,0 +1,17 @@ +Package( + [ ("name", "firebird-0.6.1") + + , ("build", Relative("firebird/firebird-build.sh")) + , ("setenv", Relative("helpers/set-env.sh")) + + , ("src", App(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "http://ftp.mozilla.org/pub/firebird/releases/0.6.1/MozillaFirebird-source-0.6.1.tar.bz2") + , ("md5", "35191de0d02601f7a190b5065a26de85") + ])) + + , ("stdenv", IncludeFix("stdenv/stdenv.fix")) + , ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix")) + , ("gtk", IncludeFix("gtk+/gtk+.fix")) + , ("libIDL", IncludeFix("libIDL/libIDL.fix")) + ] +)