wok annotate txt2tags/receipt @ rev 25253
updated pyvim (2.0.24 -> 3.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:49:44 2022 +0100 (2022-07-14) |
parents | 922f061231c2 |
children | 0262035dc1e7 |
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@24976 | 11 WGET_URL="https://github.com/txt2tags/txt2tags/archive/refs/tags/$VERSION.tar.gz" |
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 |