SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "comical"

# SliTaz package receipt.

PACKAGE="comical"
VERSION="0.8"
CATEGORY="graphics"
SHORT_DESC="Comic book reader"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://comical.sourceforge.net/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="wxWidgets28"
BUILD_DEPENDS="wxWidgets28-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    patch -p1 -i $stuff/comical-0.8_wx-2.8.patch
    make -j 1
}

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