SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "comix"

# SliTaz package receipt.

PACKAGE="comix"
VERSION="4.0.4"
CATEGORY="graphics"
SHORT_DESC="Comix is an image viewer, specifically designed to handle comic books."
MAINTAINER="mallory@sweetpeople.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://comix.sourceforge.net"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="viewer comic"

DEPENDS="python pygtk python-pil rar"
BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/comix/files/comix/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/comix-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p $DESTDIR/usr
    python install.py --no-mime --dir $DESTDIR/usr install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/* $fs/usr/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)