SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gaupol"

# SliTaz package receipt.

PACKAGE="gaupol"
VERSION="1.7"
CATEGORY="multimedia"
SHORT_DESC="An editor for text-based subtitle files."
MAINTAINER="claudinei@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://otsaloma.io/gaupol/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/otsaloma/$PACKAGE/archive/$VERSION.tar.gz"

SUGGESTED="mplayer"
DEPENDS="py3k pygtk"
BUILD_DEPENDS="gettext intltool py3k-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python3 setup.py clean install --prefix=$install/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    PYTHON_LIB=python$(grep ^VERSION= $WOK/py3k/receipt | sed 's/.*"\(...\).*/\1/')
    sed -i 's|/home/slitaz/wok/gaupol/install||g' \
        $install/usr/lib/$PYTHON_LIB/site-packages/aeidon/paths.py

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