wok annotate asciidoc/receipt @ rev 25674

tiptop: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:10:12 2024 +0000 (3 months ago)
parents 6b33f9da53d4
children
rev   line source
pankso@15929 1 # SliTaz package receipt.
pankso@15929 2
pankso@15929 3 PACKAGE="asciidoc"
pankso@15929 4 VERSION="8.6.9"
pankso@15929 5 CATEGORY="system-tools"
pankso@15929 6 SHORT_DESC="Text based document generation"
pankso@15929 7 MAINTAINER="pankso@slitaz.org"
pankso@15929 8 LICENSE="GPL2"
pascal@25674 9 WEB_SITE="https://pypi.org/project/asciidoc/"
al@19275 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@15929 11 WGET_URL="$SF_MIRROR/project/asciidoc/asciidoc/$VERSION/$TARBALL"
pankso@15929 12
pankso@15929 13 DEPENDS="python"
pankso@15929 14 BUILD_DEPENDS=""
pankso@15929 15
pascal@24340 16 # What is the latest version available today?
pascal@24340 17 current_version()
pascal@24340 18 {
pascal@24340 19 wget -O - https://sourceforge.net/projects/asciidoc/files/asciidoc/ 2>/dev/null | \
pascal@25605 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 21 sed '/scope="row/!d;s|.*asciidoc-||;s|.tar.*||;q'
pascal@24340 22 }
pascal@24340 23
pankso@15929 24 # Rules to configure and make the package.
pankso@15929 25 compile_rules()
pankso@15929 26 {
pankso@15929 27 ./configure \
pankso@15929 28 --sysconfdir=/etc \
pankso@15929 29 $CONFIGURE_ARGS &&
pankso@15929 30 make install
pankso@15929 31 }
pankso@15929 32
pankso@15929 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15929 34 genpkg_rules()
pankso@15929 35 {
pankso@15929 36 mkdir -p $fs/usr
pankso@15929 37 cp -a $install/etc $fs
pankso@15929 38 cp -a $install/usr/bin $fs/usr
pankso@15929 39 }