wok annotate docbook-xml-43/receipt @ rev 25572
BootProg: fix boot16.asm (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 13:34:41 2023 +0000 (15 months ago) |
parents | 52649f27a0da |
children |
rev | line source |
---|---|
slaxemulator@9350 | 1 # SliTaz package receipt. |
slaxemulator@9350 | 2 |
slaxemulator@9350 | 3 PACKAGE="docbook-xml-43" |
slaxemulator@9350 | 4 VERSION="4.3" |
slaxemulator@9350 | 5 CATEGORY="development" |
slaxemulator@9350 | 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.3)" |
slaxemulator@9350 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
slaxemulator@9350 | 9 SOURCE="docbook-xml" |
slaxemulator@9350 | 10 TARBALL="${SOURCE}-${VERSION}.zip" |
slaxemulator@9350 | 11 WEB_SITE="http://www.oasis-open.org/docbook/" |
pascal@25540 | 12 WGET_URL="https://www.docbook.org/xml/$VERSION/$TARBALL" |
slaxemulator@9350 | 13 |
pascal@15579 | 14 DEPENDS="libxml2-tools libxml2" |
pascal@15579 | 15 |
pascal@24694 | 16 # What is the latest version available today? |
pascal@24694 | 17 current_version() |
pascal@24694 | 18 { |
pascal@24694 | 19 wget -O - http://www.docbook.org/xml/ 2>/dev/null | \ |
pascal@24694 | 20 sed 's|<li>|&\n|g' | sed '/>4\.3/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q |
pascal@24694 | 21 } |
pascal@24694 | 22 |
slaxemulator@9350 | 23 # Rules to configure and make the package. |
slaxemulator@9350 | 24 compile_rules() |
slaxemulator@9350 | 25 { |
slaxemulator@9350 | 26 cd $src |
slaxemulator@9350 | 27 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9350 | 28 cp -dRf docbook.cat *.dtd ent/ *.mod \ |
slaxemulator@9350 | 29 $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9350 | 30 |
slaxemulator@9350 | 31 } |
slaxemulator@9350 | 32 |
slaxemulator@9350 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9350 | 34 genpkg_rules() |
slaxemulator@9350 | 35 { |
slaxemulator@9350 | 36 mkdir -p $fs |
pascal@15579 | 37 cp -a $install/usr $fs |
slaxemulator@9350 | 38 } |
slaxemulator@9350 | 39 |