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 - ${WEB_SITE}download.html 2>/dev/null | \
    sed '/itstool-/!d;s|.tar.*||;s|.*itstool-||;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
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)