* Added a package for expat.

* Don't use GDBM in Subversion.

svn path=/nixpkgs/trunk/; revision=205
This commit is contained in:
Eelco Dolstra 2003-07-25 19:03:24 +00:00
parent 7ec0df788f
commit 2c2cae89e6
3 changed files with 22 additions and 1 deletions

9
pkgs/expat/expat-build.sh Executable file
View file

@ -0,0 +1,9 @@
#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd expat-* || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

12
pkgs/expat/expat.fix Normal file
View file

@ -0,0 +1,12 @@
Package(
[ ("name", "expat-1.95.6")
, ("build", Relative("expat/expat-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "http://belnet.dl.sourceforge.net/sourceforge/expat/expat-1.95.6.tar.gz")
, ("md5", "ca78d94e83e9f077b5da2bfe28ba986a")
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
]
)

View file

@ -26,7 +26,7 @@ echo "extra flags: $extraflags"
tar xvfz $src || exit 1
cd subversion-* || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out $extraflags || exit 1
LDFLAGS=-Wl,-S ./configure --prefix=$out $extraflags --without-gdbm || exit 1
make $extramakeflags || exit 1
make install $extramakeflags || exit 1