* Added a package for Sylpheed (which depends on glib/gtk+ 1.2.10).

svn path=/nixpkgs/trunk/; revision=195
This commit is contained in:
Eelco Dolstra
2003-07-22 20:33:18 +00:00
parent daed3bbe7b
commit 1a5e75c192
7 changed files with 80 additions and 0 deletions

12
pkgs/gtk+-1/gtk+-build.sh Executable file
View File

@@ -0,0 +1,12 @@
#! /bin/sh
export PATH=/bin:/usr/bin
envpkgs="$glib"
. $setenv
tar xvfz $src || exit 1
cd gtk+-* || exit 1
LDFLAGS=-s ./configure --prefix=$out --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib || exit 1
make || exit 1
make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1

14
pkgs/gtk+-1/gtk+.fix Normal file
View File

@@ -0,0 +1,14 @@
Package(
[ ("name", "gtk+-1.2.10")
, ("build", Relative("gtk+-1/gtk+-build.sh"))
, ("setenv", Relative("helpers/set-env.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz")
, ("md5", "4d5cb2fc7fb7830e4af9747a36bfce20")
]))
, ("glib", IncludeFix("glib-1/glib.fix"))
]
)