wok-current annotate docbook-xml-42/receipt @ rev 10353

gcc: Removed gawk in build depends. Added check like the one glibc has to install if cook script is found. Fixed tazwok cookorder i hope.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 16:40:19 2011 +0000 (2011-05-22)
parents
children eb8067417980
rev   line source
slaxemulator@9349 1 # SliTaz package receipt.
slaxemulator@9349 2
slaxemulator@9349 3 PACKAGE="docbook-xml-42"
slaxemulator@9349 4 VERSION="4.2"
slaxemulator@9349 5 CATEGORY="development"
slaxemulator@9349 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.2)"
slaxemulator@9349 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9349 8 DEPENDS="libxml2-tools libxml2"
slaxemulator@9349 9 SOURCE="docbook-xml"
slaxemulator@9349 10 TARBALL="${SOURCE}-${VERSION}.zip"
slaxemulator@9349 11 WEB_SITE="http://www.oasis-open.org/docbook/"
slaxemulator@9349 12 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL"
slaxemulator@9349 13
slaxemulator@9349 14 # Rules to configure and make the package.
slaxemulator@9349 15 compile_rules()
slaxemulator@9349 16 {
slaxemulator@9349 17 cd $src
slaxemulator@9349 18 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION}
slaxemulator@9349 19 cp -dRf docbook.cat *.dtd ent/ *.mod \
slaxemulator@9349 20 $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION}
slaxemulator@9349 21
slaxemulator@9349 22 }
slaxemulator@9349 23
slaxemulator@9349 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9349 25 genpkg_rules()
slaxemulator@9349 26 {
slaxemulator@9349 27 mkdir -p $fs
slaxemulator@9349 28 cp -a $_pkg/usr $fs
slaxemulator@9349 29 }