wok annotate txt2tags/receipt @ rev 24921
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 17:48:38 2022 +0000 (2022-04-10) |
parents | a78610b2eb47 |
children | 1805f71c5d9f |
rev | line source |
---|---|
pascal@7142 | 1 # SliTaz package receipt. |
pascal@7142 | 2 |
pascal@7142 | 3 PACKAGE="txt2tags" |
pascal@7142 | 4 VERSION="2.6" |
pascal@7142 | 5 CATEGORY="misc" |
pascal@7142 | 6 SHORT_DESC="Document generator." |
pascal@7142 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
pascal@7142 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20669 | 10 WEB_SITE="https://txt2tags.org/" |
pascal@7142 | 11 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@7142 | 12 DEPENDS="python" |
pascal@7142 | 13 |
pascal@24304 | 14 # What is the latest version available today? |
pascal@24304 | 15 current_version() |
pascal@24304 | 16 { |
pascal@24304 | 17 wget -O - https://github.com/txt2tags/txt2tags/releases 2>/dev/null | \ |
pascal@24304 | 18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 19 } |
pascal@24304 | 20 |
pascal@7142 | 21 # Rules to configure and make the package. |
pascal@7142 | 22 compile_rules() |
pascal@7142 | 23 { |
pascal@7142 | 24 cd $src |
pascal@7142 | 25 } |
pascal@7142 | 26 |
pascal@7142 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7142 | 28 genpkg_rules() |
pascal@7142 | 29 { |
pascal@7142 | 30 mkdir -p $fs/usr/bin |
pascal@7142 | 31 cp -a $src/txt2tags $fs/usr/bin |
pascal@7142 | 32 } |
pascal@7142 | 33 |