Added Mozilla Thunderbird

svn path=/nixpkgs/trunk/; revision=1396
This commit is contained in:
Martin Bravenboer 2004-09-15 11:06:15 +00:00
parent a1ad30a00d
commit 4e4cfda97f
6 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,22 @@
. $stdenv/setup
preConfigure() {
cat mail/config/mozconfig > .mozconfig
cat >> .mozconfig <<EOF
ac_add_options --disable-debug
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
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 --enable-single-profile
ac_add_options --prefix=$out
EOF
}
preConfigure=preConfigure
makeFlags="-f client.mk build"
genericBuild

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, pkgconfig, gtk, perl, zip, libIDL}:
assert pkgconfig != null && gtk != null && perl != null
&& zip != null && libIDL != null;
# !!! assert libIDL.glib == gtk.glib;
stdenv.mkDerivation {
name = "thunderbird-code-0.8";
builder = ./builder.sh;
src = fetchurl {
url = http://www.artfiles.org/mozilla.org/thunderbird/releases/0.8/thunderbird-source-0.8.tar.bz2;
md5 = "76de1827d66ac482cfc4dd32e7b1e257";
};
buildInputs = [pkgconfig gtk perl zip libIDL];
}

View File

@ -0,0 +1,6 @@
{name, stdenv, dir, files}:
stdenv.mkDerivation {
inherit name dir files;
builder = ./linker.sh;
}

View File

@ -0,0 +1,9 @@
. $stdenv/setup
mkdir $out
for file in $files
do
subdir=`dirname $file`
mkdir -p $out/$subdir
ln -s $dir/$file $out/$file
done

View File

@ -754,6 +754,19 @@ rec {
inherit (gnome) libIDL;
};
thunderbird =
(import ../applications/networking/mailreaders/thunderbird/linker.nix) {
name = "thunderbird-0.8";
dir =
(import ../applications/networking/mailreaders/thunderbird) {
inherit fetchurl stdenv pkgconfig perl zip;
inherit (gtkLibs) gtk;
inherit (gnome) libIDL;
};
files = ["bin/thunderbird"];
inherit stdenv;
};
lynx = (import ../applications/networking/browsers/lynx) {
inherit fetchurl stdenv ncurses openssl;
};

View File

@ -48,6 +48,7 @@ let {
pan
sylpheed
firefox
thunderbird
lynx
MPlayer
MPlayerPlugin