wok view txt2tags/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
parents 922f061231c2
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="txt2tags"
4 VERSION="2.6"
5 CATEGORY="misc"
6 SHORT_DESC="Document generator."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="https://txt2tags.org/"
11 WGET_URL="https://github.com/txt2tags/txt2tags/archive/refs/tags/$VERSION.tar.gz"
12 DEPENDS="python"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/txt2tags/txt2tags/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/txt2tags $fs/usr/bin
32 }