wok annotate txt2tags/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (5 weeks ago)
parents 1805f71c5d9f
children
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@25601 18 sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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