wok-6.x annotate asciidoc/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | 11b5e93cb5f2 |
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" |
pankso@15929 | 9 WEB_SITE="http://www.methods.co.nz/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@24340 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 } |