forked from gobolinux/Recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Recipe (MakeRecipe) for DocBook-XML-DTD by Andreas Köhler <[email protected]>, on Fri Aug 15 07:54:42 CEST 2008 | ||
# Recipe for version 4.3 by Andreas Köhler <[email protected]>, on Fri Aug 15 07:54:42 CEST 2008 | ||
compile_version=1.11.2 | ||
url="http://docbook.org/xml/string_pointer_copy/docbook-xml-string_pointer_copy.zip" | ||
file_size=98497 | ||
file_md5=AB200202B9E136A144DB1E0864C45074 | ||
unpack_files=files_in_root | ||
recipe_type=manifest | ||
#dir=docbook-xml-4.3 | ||
manifest=( | ||
docbook.cat:share/xml/docbook/xml-dtd-4.3/. | ||
calstblx.dtd:share/xml/docbook/xml-dtd-4.3/. | ||
docbookx.dtd:share/xml/docbook/xml-dtd-4.3/. | ||
soextblx.dtd:share/xml/docbook/xml-dtd-4.3/. | ||
dbcentx.mod:share/xml/docbook/xml-dtd-4.3/. | ||
dbgenent.mod:share/xml/docbook/xml-dtd-4.3/. | ||
dbhierx.mod:share/xml/docbook/xml-dtd-4.3/. | ||
dbnotnx.mod:share/xml/docbook/xml-dtd-4.3/. | ||
dbpoolx.mod:share/xml/docbook/xml-dtd-4.3/. | ||
htmltblx.mod:share/xml/docbook/xml-dtd-4.3/. | ||
ent:share/xml/docbook/xml-dtd-4.3/ent | ||
) | ||
pre_link() { | ||
cp -v -af *.dtd ent/ *.mod $target/share/xml/docbook/xml-dtd-4.3/ | ||
} | ||
sandbox_options=( | ||
--allow-leftovers | ||
) | ||
unmanaged_files=( | ||
$goboVariable/lib/xml | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
LibXML2 >= 2.6.0 | ||
Scripts >= 2.9.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Name] DocBook-XML-DTD | ||
[Summary] XML DTDs for DocBook V4.3 | ||
[Description] DocBook is a general purpose XML and SGML document type particularly well suited to books and papers about computer hardware and software (though it is by no means limited to these applications). This package contains the XML DTDs for it. | ||
[License] MIT/X Consortium License | ||
[Homepage] http://www.oasis-open.org/docbook/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# source GoboPath, just in case somebody wants to launch this script from the shell | ||
source GoboPath | ||
|
||
mkdir -p $goboVariable/lib/xml | ||
|
||
# Create (or update) the $goboVariable/lib/xml/docbook catalog file | ||
if [ ! -e $goboVariable/lib/xml/docbook ]; then | ||
xmlcatalog --noout --create $goboVariable/lib/xml/docbook | ||
fi | ||
|
||
# Create (or update) the $goboVariable/lib/xml/catalog catalog file | ||
if [ ! -e $goboVariable/lib/xml/catalog ]; then | ||
xmlcatalog --noout --create $goboVariable/lib/xml/catalog | ||
fi | ||
|
||
# Update the catalog files | ||
xmlcatalogdata=$(dirname $(readlink -f $0))/XmlCatalogData | ||
cat "$xmlcatalogdata" | sed -e 's,${target},/usr,g' -e "s,\${goboVariable},$goboVariable,g" | while read line | ||
do | ||
entrytype=$(echo "$line" | cut -d\; -f1) | ||
entryorig=$(echo "$line" | cut -d\; -f2) | ||
entryreplace=$(echo "$line" | cut -d\; -f3) | ||
catalogfile=$(echo "$line" | cut -d\; -f4) | ||
xmlcatalog --noout --add "$entrytype" "$entryorig" "$entryreplace" "$catalogfile" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
public;-//OASIS//DTD DocBook XML V4.3//EN;http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//DTD DocBook XML CALS Table Model V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/calstblx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//DTD DocBook XML Exchange Table Model 19990315//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/soextblx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ELEMENTS DocBook XML Information Pool V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/dbpoolx.mod;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/dbhierx.mod;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ELEMENTS DocBook XML HTML Tables V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/htmltblx.mod;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ENTITIES DocBook XML Notations V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/dbnotnx.mod;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ENTITIES DocBook XML Character Entities V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/dbcentx.mod;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//ENTITIES DocBook XML Additional General Entities V4.3//EN;file://${target}/share/xml/docbook/xml-dtd-4.3/dbgenent.mod;${goboVariable}/lib/xml/docbook | ||
rewriteSystem;http://www.oasis-open.org/docbook/xml/4.3;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteURI;http://www.oasis-open.org/docbook/xml/4.3;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
delegatePublic;-//OASIS//ENTITIES DocBook XML;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegatePublic;-//OASIS//DTD DocBook XML;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateSystem;http://www.oasis-open.org/docbook/;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateURI;http://www.oasis-open.org/docbook/;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
public;-//OASIS//DTD DocBook XML V4.1.2//EN;http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//DTD DocBook XML V4.2//EN;http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//DTD DocBook XML V4.3//EN;http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd;${goboVariable}/lib/xml/docbook | ||
public;-//OASIS//DTD DocBook XML V4.4//EN;http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd;${goboVariable}/lib/xml/docbook | ||
rewriteSystem;http://www.oasis-open.org/docbook/xml/4.1.2;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteSystem;http://www.oasis-open.org/docbook/xml/4.2;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteSystem;http://www.oasis-open.org/docbook/xml/4.3;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteSystem;http://www.oasis-open.org/docbook/xml/4.4;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteURI;http://www.oasis-open.org/docbook/xml/4.1.2;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteURI;http://www.oasis-open.org/docbook/xml/4.2;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteURI;http://www.oasis-open.org/docbook/xml/4.3;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
rewriteURI;http://www.oasis-open.org/docbook/xml/4.4;file://${target}/share/xml/docbook/xml-dtd-4.3;${goboVariable}/lib/xml/docbook | ||
delegateSystem;http://www.oasis-open.org/docbook/xml/4.1.2;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateSystem;http://www.oasis-open.org/docbook/xml/4.2;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateSystem;http://www.oasis-open.org/docbook/xml/4.3;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateSystem;http://www.oasis-open.org/docbook/xml/4.4;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateURI;http://www.oasis-open.org/docbook/xml/4.1.2;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateURI;http://www.oasis-open.org/docbook/xml/4.2;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateURI;http://www.oasis-open.org/docbook/xml/4.3;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog | ||
delegateURI;http://www.oasis-open.org/docbook/xml/4.4;file://${goboVariable}/lib/xml/docbook;${goboVariable}/lib/xml/catalog |