nixpkgs/pkgs-ng/applications/networking/mailreaders/sylpheed/builder.sh
Eelco Dolstra bd9a07f99c * Converted GTK 1 / Sylpheed, with optional support for gdk-pixbuf.
svn path=/nixpkgs/trunk/; revision=490
2003-11-06 16:28:57 +00:00

21 lines
444 B
Bash
Executable file

#! /bin/sh
buildinputs="$gtk $gdkpixbuf $openssl"
. $stdenv/setup || exit 1
if test $sslSupport; then
extraflags="--enable-ssl $extraflags"
fi
if test $imageSupport; then
extraflags="--enable-gdk-pixbuf $extraflags"
else
extraflags="--disable-gdk-pixbuf --disable-imlibtest $extraflags"
fi
tar xvfj $src || exit 1
cd sylpheed-* || exit 1
./configure --prefix=$out $extraflags || exit 1
make || exit 1
make install || exit 1