summary refs log tree commit diff
path: root/pkgs/libxslt
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-25 14:59:22 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2003-07-25 14:59:22 +0000
commit7ec0df788f4367b9f64636d11b09e8dfaf6330c8 (patch)
tree35e9d17a1df791037e6eab091f090aa1dbd09c21 /pkgs/libxslt
parent1dda526c6679827f272ff4895c41781e999cceb2 (diff)
* Reduced the size of glibc from 130 to 50 MB.
* Adapted some more packages to use stdenv, "fixed" ld.so problems.
* Added a package for libxslt.

svn path=/nixpkgs/trunk/; revision=204
Diffstat (limited to 'pkgs/libxslt')
-rwxr-xr-xpkgs/libxslt/libxslt-build.sh14
-rw-r--r--pkgs/libxslt/libxslt.fix15
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/libxslt/libxslt-build.sh b/pkgs/libxslt/libxslt-build.sh
new file mode 100755
index 0000000000000..e9f7b765a4fdf
--- /dev/null
+++ b/pkgs/libxslt/libxslt-build.sh
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+. $stdenv/setup || exit 1
+
+envpkgs="$libxml"
+. $setenv
+
+tar xvfz $src || exit 1
+cd libxslt-* || exit 1
+LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
+make || exit 1
+make install || exit 1
+
+echo $envpkgs > $out/envpkgs || exit 1
diff --git a/pkgs/libxslt/libxslt.fix b/pkgs/libxslt/libxslt.fix
new file mode 100644
index 0000000000000..c630633bb3892
--- /dev/null
+++ b/pkgs/libxslt/libxslt.fix
@@ -0,0 +1,15 @@
+Package(
+  [ ("name", "libxslt-1.0.31")
+
+  , ("build", Relative("libxslt/libxslt-build.sh"))
+  , ("setenv", Relative("helpers/set-env.sh"))
+
+  , ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
+      [ ("url", "ftp://xmlsoft.org/libxslt-1.0.31.tar.gz")
+      , ("md5", "7dbc66a3db621d3f2a6fac4a91ff9af9")
+      ]))
+
+  , ("stdenv", IncludeFix("stdenv/stdenv.fix"))
+  , ("libxml", IncludeFix("libxml2/libxml2.fix"))
+  ]
+)