mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* Add docbook-xml and docbook-xsl packages.
svn path=/nixpkgs/trunk/; revision=223
This commit is contained in:
parent
b543deb16b
commit
3ada6a588d
7
pkgs/docbook-xml/docbook-xml-build.sh
Executable file
7
pkgs/docbook-xml/docbook-xml-build.sh
Executable 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 $src || exit 1
|
12
pkgs/docbook-xml/docbook-xml.fix
Normal file
12
pkgs/docbook-xml/docbook-xml.fix
Normal file
@ -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"))
|
||||
]
|
||||
)
|
10
pkgs/docbook-xsl/docbook-xsl-build.sh
Executable file
10
pkgs/docbook-xsl/docbook-xsl-build.sh
Executable 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
|
12
pkgs/docbook-xsl/docbook-xsl.fix
Normal file
12
pkgs/docbook-xsl/docbook-xsl.fix
Normal file
@ -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"))
|
||||
]
|
||||
)
|
@ -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"))
|
||||
]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user