wok annotate docbook-xml-44/receipt @ rev 24910
Update some web_site (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:32:04 2022 +0000 (2022-04-09) |
parents | eb8067417980 |
children | 73f36875e5a7 |
rev | line source |
---|---|
slaxemulator@9351 | 1 # SliTaz package receipt. |
slaxemulator@9351 | 2 |
slaxemulator@9351 | 3 PACKAGE="docbook-xml-44" |
slaxemulator@9351 | 4 VERSION="4.4" |
slaxemulator@9351 | 5 CATEGORY="development" |
slaxemulator@9351 | 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.4)" |
slaxemulator@9351 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
slaxemulator@9351 | 9 SOURCE="docbook-xml" |
slaxemulator@9351 | 10 TARBALL="${SOURCE}-${VERSION}.zip" |
slaxemulator@9351 | 11 WEB_SITE="http://www.oasis-open.org/docbook/" |
slaxemulator@9351 | 12 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL" |
slaxemulator@9351 | 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\.4/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q |
pascal@24694 | 21 } |
pascal@24694 | 22 |
slaxemulator@9351 | 23 # Rules to configure and make the package. |
slaxemulator@9351 | 24 compile_rules() |
slaxemulator@9351 | 25 { |
slaxemulator@9351 | 26 cd $src |
slaxemulator@9351 | 27 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9351 | 28 cp -dRf docbook.cat *.dtd ent/ *.mod \ |
slaxemulator@9351 | 29 $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9351 | 30 |
slaxemulator@9351 | 31 } |
slaxemulator@9351 | 32 |
slaxemulator@9351 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9351 | 34 genpkg_rules() |
slaxemulator@9351 | 35 { |
slaxemulator@9351 | 36 mkdir -p $fs |
pascal@15579 | 37 cp -a $install/usr $fs |
slaxemulator@9351 | 38 } |
slaxemulator@9351 | 39 |