SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pypar2"

# SliTaz package receipt.

PACKAGE="pypar2"
VERSION="1.4"
CATEGORY="development"
SHORT_DESC="A graphical frontend for the par2 utility"
LICENSE="GPL3"
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://web.archive.org/web/20190804084742/http://pypar2.silent-blade.org/"
WGET_URL="https://web.archive.org/web/20160423232145/http://pypar2.silent-blade.org/uploads/Main/$TARBALL"

DEPENDS="pygtk par2 python-pyxml python-vte"
BUILD_DEPENDS="findutils"

# What is the latest version available today?
current_version()
{
    wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \
    sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make prefix=/usr DESTDIR=$DESTDIR install
    sdft $install/usr/share/applications/pypar2.desktop \
        -i -s "Categories=GTK;Utility;"
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs/
    rm -rf $fs/usr/share/man $fs/usr/bin/pypar2
    ln -s /usr/share/pypar2/src/main.py $fs/usr/bin/pypar2
}

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