SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gif2apng"

# SliTaz package receipt.

PACKAGE="gif2apng"
VERSION="1.9"
CATEGORY="utilities"
SHORT_DESC="Convert GIF animations into APNG format."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="zlib/libpng"
WEB_SITE="https://gif2apng.sourceforge.net/"

TARBALL="$PACKAGE-$VERSION-src.zip"
WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"

DEPENDS="zlib"
BUILD_DEPENDS="zlib-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/$PACKAGE $fs/usr/bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)