SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "txt2tags"

# SliTaz package receipt.

PACKAGE="txt2tags"
VERSION="2.6"
CATEGORY="misc"
SHORT_DESC="Document generator."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tgz"
WEB_SITE="https://txt2tags.org/"
WGET_URL="https://github.com/txt2tags/txt2tags/archive/refs/tags/$VERSION.tar.gz"
DEPENDS="python"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/txt2tags/txt2tags/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/txt2tags $fs/usr/bin
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)