wok-next annotate docbook-xml/receipt @ rev 18166

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