# SliTaz package receipt. PACKAGE="apng2gif" VERSION="1.8" CATEGORY="utilities" SHORT_DESC="Convert APNG animations into animated GIF format" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" WEB_SITE="https://apng2gif.sourceforge.net/" TARBALL="$PACKAGE-$VERSION-src.zip" WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/apng2gif/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' } DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" # 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 }