3
0
Fork 0
forked from mirrors/nixpkgs

* 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;
}