wok-4.x annotate docbook-xml/receipt @ rev 11125
Up: xfsprogs to 3.1.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 20:24:02 2011 +0000 (2011-10-26) |
parents | 484050e8db80 |
children |
rev | line source |
---|---|
slaxemulator@6983 | 1 # SliTaz package receipt. |
slaxemulator@6983 | 2 |
slaxemulator@6983 | 3 PACKAGE="docbook-xml" |
slaxemulator@7625 | 4 VERSION="4.5" |
slaxemulator@6983 | 5 CATEGORY="development" |
slaxemulator@9352 | 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.5)" |
slaxemulator@9352 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9352 | 8 DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 docbook-xml-44" |
slaxemulator@9352 | 9 TARBALL="${PACKAGE}-${VERSION}.zip" |
slaxemulator@9352 | 10 WEB_SITE="http://www.oasis-open.org/docbook/" |
slaxemulator@8479 | 11 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL" |
slaxemulator@6983 | 12 |
slaxemulator@9352 | 13 # Rules to configure and make the package. |
slaxemulator@9352 | 14 compile_rules() |
slaxemulator@9352 | 15 { |
slaxemulator@9352 | 16 cd $src |
slaxemulator@9352 | 17 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9352 | 18 cp -dRf docbook.cat *.dtd ent/ *.mod \ |
slaxemulator@9352 | 19 $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9352 | 20 |
slaxemulator@9352 | 21 } |
slaxemulator@9352 | 22 |
slaxemulator@6983 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6983 | 24 genpkg_rules() |
slaxemulator@6983 | 25 { |
slaxemulator@9352 | 26 mkdir -p $fs |
slaxemulator@9352 | 27 cp -a $_pkg/usr $fs |
slaxemulator@6983 | 28 } |
slaxemulator@7625 | 29 |
slaxemulator@6983 | 30 post_install() |
slaxemulator@6983 | 31 { |
slaxemulator@9352 | 32 root=$1 |
slaxemulator@9352 | 33 [ -d $root/etc/xml ] || mkdir -p $root/etc/xml |
slaxemulator@9352 | 34 if [ -f $root/etc/xml/docbook-xml ]; then |
slaxemulator@9352 | 35 xmlcatalog --noout $root/etc/xml/docbook-xml |
slaxemulator@9352 | 36 else |
slaxemulator@9352 | 37 xmlcatalog --noout --create $root/etc/xml/docbook-xml |
slaxemulator@9352 | 38 fi |
slaxemulator@6983 | 39 echo -n "Processing post-install commands..." |
slaxemulator@6983 | 40 |
slaxemulator@9352 | 41 # V4.1.2 |
slaxemulator@9352 | 42 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 43 "-//OASIS//DTD DocBook XML V4.1.2//EN" \ |
slaxemulator@9352 | 44 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ |
slaxemulator@9352 | 45 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 46 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 47 "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ |
slaxemulator@9352 | 48 "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ |
slaxemulator@9352 | 49 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 50 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 51 "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ |
slaxemulator@9352 | 52 "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ |
slaxemulator@9352 | 53 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 54 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 55 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
slaxemulator@9352 | 56 "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \ |
slaxemulator@9352 | 57 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 58 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 59 "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ |
slaxemulator@9352 | 60 "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \ |
slaxemulator@9352 | 61 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 62 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 63 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ |
slaxemulator@9352 | 64 "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \ |
slaxemulator@9352 | 65 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 66 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 67 "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ |
slaxemulator@9352 | 68 "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \ |
slaxemulator@9352 | 69 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 70 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 71 "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ |
slaxemulator@9352 | 72 "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \ |
slaxemulator@9352 | 73 "${DESTDIR}/etc/xml/docbook-xml" |
slaxemulator@9352 | 74 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 75 "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ |
slaxemulator@9352 | 76 "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \ |
slaxemulator@9352 | 77 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 78 xmlcatalog --noout --add "rewriteSystem" \ |
slaxemulator@9352 | 79 "http://www.oasis-open.org/docbook/xml/4.1.2" \ |
slaxemulator@9352 | 80 "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ |
slaxemulator@9352 | 81 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 82 xmlcatalog --noout --add "rewriteURI" \ |
slaxemulator@9352 | 83 "http://www.oasis-open.org/docbook/xml/4.1.2" \ |
slaxemulator@9352 | 84 "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ |
slaxemulator@9352 | 85 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 86 |
slaxemulator@9352 | 87 # V4.2 |
slaxemulator@9352 | 88 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 89 "-//OASIS//DTD DocBook XML V4.2//EN" \ |
slaxemulator@9352 | 90 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ |
slaxemulator@9352 | 91 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 92 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 93 "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \ |
slaxemulator@9352 | 94 "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \ |
slaxemulator@9352 | 95 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 96 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 97 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
slaxemulator@9352 | 98 "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \ |
slaxemulator@9352 | 99 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 100 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 101 "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \ |
slaxemulator@9352 | 102 "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \ |
slaxemulator@9352 | 103 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 104 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 105 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \ |
slaxemulator@9352 | 106 "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \ |
slaxemulator@9352 | 107 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 108 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 109 "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \ |
slaxemulator@9352 | 110 "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \ |
slaxemulator@9352 | 111 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 112 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 113 "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \ |
slaxemulator@9352 | 114 "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \ |
slaxemulator@9352 | 115 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 116 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 117 "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \ |
slaxemulator@9352 | 118 "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \ |
slaxemulator@9352 | 119 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 120 xmlcatalog --noout --add "rewriteSystem" \ |
slaxemulator@9352 | 121 "http://www.oasis-open.org/docbook/xml/4.2" \ |
slaxemulator@9352 | 122 "file:///usr/share/xml/docbook/xml-dtd-4.2" \ |
slaxemulator@9352 | 123 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 124 xmlcatalog --noout --add "rewriteURI" \ |
slaxemulator@9352 | 125 "http://www.oasis-open.org/docbook/xml/4.2" \ |
slaxemulator@9352 | 126 "file:///usr/share/xml/docbook/xml-dtd-4.2" \ |
slaxemulator@9352 | 127 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 128 |
slaxemulator@9352 | 129 # V4.3 |
slaxemulator@9352 | 130 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 131 "-//OASIS//DTD DocBook XML V4.3//EN" \ |
slaxemulator@9352 | 132 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \ |
slaxemulator@9352 | 133 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 134 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 135 "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \ |
slaxemulator@9352 | 136 "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \ |
slaxemulator@9352 | 137 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 138 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 139 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
slaxemulator@9352 | 140 "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \ |
slaxemulator@9352 | 141 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 142 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 143 "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \ |
slaxemulator@9352 | 144 "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \ |
slaxemulator@9352 | 145 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 146 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 147 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \ |
slaxemulator@9352 | 148 "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \ |
slaxemulator@9352 | 149 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 150 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 151 "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \ |
slaxemulator@9352 | 152 "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \ |
slaxemulator@9352 | 153 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 154 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 155 "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \ |
slaxemulator@9352 | 156 "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \ |
slaxemulator@9352 | 157 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 158 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 159 "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \ |
slaxemulator@9352 | 160 "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \ |
slaxemulator@9352 | 161 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 162 xmlcatalog --noout --add "rewriteSystem" \ |
slaxemulator@9352 | 163 "http://www.oasis-open.org/docbook/xml/4.3" \ |
slaxemulator@9352 | 164 "file:///usr/share/xml/docbook/xml-dtd-4.3" \ |
slaxemulator@9352 | 165 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 166 xmlcatalog --noout --add "rewriteURI" \ |
slaxemulator@9352 | 167 "http://www.oasis-open.org/docbook/xml/4.3" \ |
slaxemulator@9352 | 168 "file:///usr/share/xml/docbook/xml-dtd-4.3" \ |
slaxemulator@9352 | 169 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 170 |
slaxemulator@9352 | 171 # V4.4 |
slaxemulator@9352 | 172 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 173 "-//OASIS//DTD DocBook XML V4.4//EN" \ |
slaxemulator@9352 | 174 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \ |
slaxemulator@9352 | 175 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 176 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 177 "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \ |
slaxemulator@9352 | 178 "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \ |
slaxemulator@9352 | 179 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 180 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 181 "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \ |
slaxemulator@9352 | 182 "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \ |
slaxemulator@9352 | 183 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 184 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 185 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
slaxemulator@9352 | 186 "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \ |
slaxemulator@9352 | 187 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 188 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 189 "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \ |
slaxemulator@9352 | 190 "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \ |
slaxemulator@9352 | 191 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 192 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 193 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \ |
slaxemulator@9352 | 194 "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \ |
slaxemulator@9352 | 195 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 196 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 197 "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \ |
slaxemulator@9352 | 198 "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \ |
slaxemulator@9352 | 199 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 200 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 201 "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \ |
slaxemulator@9352 | 202 "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \ |
slaxemulator@9352 | 203 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 204 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 205 "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \ |
slaxemulator@9352 | 206 "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \ |
slaxemulator@9352 | 207 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 208 xmlcatalog --noout --add "rewriteSystem" \ |
slaxemulator@9352 | 209 "http://www.oasis-open.org/docbook/xml/4.4" \ |
slaxemulator@9352 | 210 "file:///usr/share/xml/docbook/xml-dtd-4.4" \ |
slaxemulator@9352 | 211 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 212 xmlcatalog --noout --add "rewriteURI" \ |
slaxemulator@9352 | 213 "http://www.oasis-open.org/docbook/xml/4.4" \ |
slaxemulator@9352 | 214 "file:///usr/share/xml/docbook/xml-dtd-4.4" \ |
slaxemulator@9352 | 215 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 216 |
slaxemulator@9352 | 217 # V4.5 |
slaxemulator@9352 | 218 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 219 "-//OASIS//DTD DocBook XML V4.5//EN" \ |
slaxemulator@9352 | 220 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ |
slaxemulator@9352 | 221 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 222 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 223 "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ |
slaxemulator@9352 | 224 "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ |
slaxemulator@9352 | 225 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 226 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 227 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
slaxemulator@9352 | 228 "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ |
slaxemulator@9352 | 229 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 230 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 231 "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ |
slaxemulator@9352 | 232 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ |
slaxemulator@9352 | 233 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 234 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 235 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ |
slaxemulator@9352 | 236 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ |
slaxemulator@9352 | 237 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 238 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 239 "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ |
slaxemulator@9352 | 240 "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ |
slaxemulator@9352 | 241 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 242 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 243 "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ |
slaxemulator@9352 | 244 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ |
slaxemulator@9352 | 245 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 246 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 247 "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ |
slaxemulator@9352 | 248 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ |
slaxemulator@9352 | 249 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 250 xmlcatalog --noout --add "public" \ |
slaxemulator@9352 | 251 "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ |
slaxemulator@9352 | 252 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ |
slaxemulator@9352 | 253 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 254 xmlcatalog --noout --add "rewriteSystem" \ |
slaxemulator@9352 | 255 "http://www.oasis-open.org/docbook/xml/4.5" \ |
slaxemulator@9352 | 256 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ |
slaxemulator@9352 | 257 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 258 xmlcatalog --noout --add "rewriteURI" \ |
slaxemulator@9352 | 259 "http://www.oasis-open.org/docbook/xml/4.5" \ |
slaxemulator@9352 | 260 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ |
slaxemulator@9352 | 261 "$root/etc/xml/docbook-xml" |
slaxemulator@9352 | 262 |
slaxemulator@9352 | 263 if [ -f $root/etc/xml/catalog ]; then |
slaxemulator@9352 | 264 xmlcatalog --noout $root/etc/xml/catalog |
slaxemulator@9352 | 265 else |
slaxemulator@9352 | 266 xmlcatalog --noout --create $root/etc/xml/catalog |
slaxemulator@9352 | 267 fi |
slaxemulator@9352 | 268 xmlcatalog --noout --add "delegatePublic" \ |
slaxemulator@9352 | 269 "-//OASIS//ENTITIES DocBook XML" \ |
slaxemulator@9352 | 270 "file:///etc/xml/docbook-xml" \ |
slaxemulator@9352 | 271 "$root/etc/xml/catalog" |
slaxemulator@9352 | 272 xmlcatalog --noout --add "delegatePublic" \ |
slaxemulator@9352 | 273 "-//OASIS//DTD DocBook XML" \ |
slaxemulator@9352 | 274 "file:///etc/xml/docbook-xml" \ |
slaxemulator@9352 | 275 "$root/etc/xml/catalog" |
slaxemulator@9352 | 276 xmlcatalog --noout --add "delegateSystem" \ |
slaxemulator@9352 | 277 "http://www.oasis-open.org/docbook/" \ |
slaxemulator@9352 | 278 "file:///etc/xml/docbook-xml" \ |
slaxemulator@9352 | 279 "$root/etc/xml/catalog" |
slaxemulator@9352 | 280 xmlcatalog --noout --add "delegateURI" \ |
slaxemulator@9352 | 281 "http://www.oasis-open.org/docbook/" \ |
slaxemulator@9352 | 282 "file:///etc/xml/docbook-xml" \ |
slaxemulator@9352 | 283 "$root/etc/xml/catalog" |
slaxemulator@6983 | 284 } |
slaxemulator@6983 | 285 |
slaxemulator@9352 | 286 post_remove() |
slaxemulator@9352 | 287 { |
slaxemulator@9352 | 288 root=$1 |
slaxemulator@9352 | 289 xmlcatalog --noout --del file:///etc/xml/docbook-xml $root/etc/xml/catalog |
slaxemulator@9352 | 290 } |
slaxemulator@9352 | 291 |