From 3ada6a588dbd98b81ae0c9beea0cd0ba290c7429 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 30 Jul 2003 09:54:15 +0000 Subject: [PATCH] * Add docbook-xml and docbook-xsl packages. svn path=/nixpkgs/trunk/; revision=223 --- pkgs/docbook-xml/docbook-xml-build.sh | 7 +++++++ pkgs/docbook-xml/docbook-xml.fix | 12 ++++++++++++ pkgs/docbook-xsl/docbook-xsl-build.sh | 10 ++++++++++ pkgs/docbook-xsl/docbook-xsl.fix | 12 ++++++++++++ pkgs/system/system.fix | 1 + 5 files changed, 42 insertions(+) create mode 100755 pkgs/docbook-xml/docbook-xml-build.sh create mode 100644 pkgs/docbook-xml/docbook-xml.fix create mode 100755 pkgs/docbook-xsl/docbook-xsl-build.sh create mode 100644 pkgs/docbook-xsl/docbook-xsl.fix diff --git a/pkgs/docbook-xml/docbook-xml-build.sh b/pkgs/docbook-xml/docbook-xml-build.sh new file mode 100755 index 000000000000..36bb0bfcad3a --- /dev/null +++ b/pkgs/docbook-xml/docbook-xml-build.sh @@ -0,0 +1,7 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +mkdir -p $out/xml/dtd/docbook || exit 1 +cd $out/xml/dtd/docbook || exit 1 +unzip $src || exit 1 diff --git a/pkgs/docbook-xml/docbook-xml.fix b/pkgs/docbook-xml/docbook-xml.fix new file mode 100644 index 000000000000..56f4f32bb861 --- /dev/null +++ b/pkgs/docbook-xml/docbook-xml.fix @@ -0,0 +1,12 @@ +Package( + [ ("name", "docbook-xml-4.2") + , ("build", Relative("docbook-xml/docbook-xml-build.sh")) + + , ("src", App(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip") + , ("md5", "73fe50dfe74ca631c1602f558ed8961f") + ])) + + , ("stdenv", IncludeFix("stdenv/stdenv.fix")) + ] +) diff --git a/pkgs/docbook-xsl/docbook-xsl-build.sh b/pkgs/docbook-xsl/docbook-xsl-build.sh new file mode 100755 index 000000000000..f28afe09465a --- /dev/null +++ b/pkgs/docbook-xsl/docbook-xsl-build.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +mkdir $out || exit 1 +cd $out || exit 1 +tar xvfz $src || exit 1 +mkdir xml || exit 1 +mkdir xml/xsl || exit 1 +mv docbook-xsl-* xml/xsl/docbook || exit 1 diff --git a/pkgs/docbook-xsl/docbook-xsl.fix b/pkgs/docbook-xsl/docbook-xsl.fix new file mode 100644 index 000000000000..512b0b12bfd9 --- /dev/null +++ b/pkgs/docbook-xsl/docbook-xsl.fix @@ -0,0 +1,12 @@ +Package( + [ ("name", "docbook-xsl-1.61.3") + , ("build", Relative("docbook-xsl/docbook-xsl-build.sh")) + + , ("src", App(IncludeFix("fetchurl/fetchurl.fix"), + [ ("url", "http://belnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.61.3.tar.gz") + , ("md5", "dc91b494e0afc586482c17e9373c0c56") + ])) + + , ("stdenv", IncludeFix("stdenv/stdenv.fix")) + ] +) diff --git a/pkgs/system/system.fix b/pkgs/system/system.fix index 52abfdaa6a6c..c50b1f7f0a90 100644 --- a/pkgs/system/system.fix +++ b/pkgs/system/system.fix @@ -9,5 +9,6 @@ Package( , ("actMPlayer", IncludeFix("MPlayer/MPlayer.fix")) , ("actSylpheed", IncludeFix("sylpheed/sylpheed.fix")) , ("actXslt", IncludeFix("libxslt/libxslt.fix")) + , ("actDocbookXsl", IncludeFix("docbook-xsl/docbook-xsl.fix")) ] )