wok-current annotate docbook-xml-412/receipt @ rev 25067
updated alsa-plugins (1.1.5 -> 1.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 13:40:50 2022 +0100 (2022-06-10) |
parents | eb8067417980 |
children | 73f36875e5a7 |
rev | line source |
---|---|
slaxemulator@9348 | 1 # SliTaz package receipt. |
slaxemulator@9348 | 2 |
slaxemulator@9348 | 3 PACKAGE="docbook-xml-412" |
slaxemulator@9348 | 4 VERSION="4.1.2" |
slaxemulator@9348 | 5 CATEGORY="development" |
slaxemulator@9348 | 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.1.2)" |
slaxemulator@9348 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
slaxemulator@9348 | 9 SOURCE="docbkx" |
slaxemulator@9348 | 10 TARBALL="${SOURCE}412.zip" |
slaxemulator@9348 | 11 WEB_SITE="http://www.oasis-open.org/docbook/" |
slaxemulator@9348 | 12 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL" |
slaxemulator@9348 | 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\.1\.2/!d;/[0-9][Cb]/d;s|.*">||;s|/<.*||' | sort -Vr | sed q |
pascal@24694 | 21 } |
pascal@24694 | 22 |
slaxemulator@9348 | 23 # Rules to configure and make the package. |
slaxemulator@9348 | 24 compile_rules() |
slaxemulator@9348 | 25 { |
slaxemulator@9348 | 26 cd $src |
slaxemulator@9348 | 27 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9348 | 28 cp -dRf docbook.cat *.dtd ent/ *.mod \ |
slaxemulator@9348 | 29 $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} |
slaxemulator@9348 | 30 |
slaxemulator@9348 | 31 } |
slaxemulator@9348 | 32 |
slaxemulator@9348 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9348 | 34 genpkg_rules() |
slaxemulator@9348 | 35 { |
slaxemulator@9348 | 36 mkdir -p $fs |
pascal@15579 | 37 cp -a $install/usr $fs |
slaxemulator@9348 | 38 } |
slaxemulator@9348 | 39 |