* Added a package for expat.
* Don't use GDBM in Subversion. svn path=/nixpkgs/trunk/; revision=205
This commit is contained in:
parent
7ec0df788f
commit
2c2cae89e6
9
pkgs/expat/expat-build.sh
Executable file
9
pkgs/expat/expat-build.sh
Executable 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
12
pkgs/expat/expat.fix
Normal 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"))
|
||||
]
|
||||
)
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user