* Added libxslt.

svn path=/nixpkgs/trunk/; revision=539
This commit is contained in:
Eelco Dolstra 2003-11-25 13:45:51 +00:00
commit ef2f51e930
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#! /bin/sh
buildinputs="$libxml2"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd libxslt-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, libxml2}:
assert !isNull libxml2;
derivation {
name = "libxslt-1.1.0";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://xmlsoft.org/libxslt-1.1.0.tar.gz;
md5 = "79a2c5307812e813e14f18b6fef9ca87";
};
stdenv = stdenv;
libxml2 = libxml2;
}