* DocBook DTD / XSLT stylesheets.

svn path=/nixpkgs/trunk/; revision=543
This commit is contained in:
Eelco Dolstra 2003-11-25 16:59:07 +00:00
commit f16b58e236
4 changed files with 44 additions and 0 deletions

View File

@ -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/bin/unzip $src || exit 1

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, unzip}:
assert !isNull unzip;
derivation {
name = "docbook-xml-4.2";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip;
md5 = "73fe50dfe74ca631c1602f558ed8961f";
};
stdenv = stdenv;
unzip = unzip;
}

View File

@ -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

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl}:
derivation {
name = "docbook-xsl-1.62.4";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://belnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.62.4.tar.gz;
md5 = "4f33db39db7fa95b50143ad609d734a0";
};
stdenv = stdenv;
}