mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
* Added libxslt.
svn path=/nixpkgs/trunk/; revision=539
This commit is contained in:
commit
ef2f51e930
11
pkgs/development/libraries/libxslt/builder.sh
Executable file
11
pkgs/development/libraries/libxslt/builder.sh
Executable 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
|
15
pkgs/development/libraries/libxslt/default.nix
Normal file
15
pkgs/development/libraries/libxslt/default.nix
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user