SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "itstool"

# SliTaz package receipt.

PACKAGE="itstool"
VERSION="2.0.7"
CATEGORY="utilities"
SHORT_DESC="ITS-based XML translation tool."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://itstool.org/"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://files.itstool.org/$PACKAGE/$TARBALL"

DEPENDS="libxml2-python python"
BUILD_DEPENDS="libxml2-python"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/share/$PACKAGE    $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)