wok annotate apng2gif/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents 7d1ec9d0e414
children 7dd01dedad38
rev   line source
al@14737 1 # SliTaz package receipt.
al@14737 2
al@14737 3 PACKAGE="apng2gif"
Hans-G?nter@20710 4 VERSION="1.8"
al@14737 5 CATEGORY="utilities"
al@14737 6 SHORT_DESC="Convert APNG animations into animated GIF format"
al@14737 7 MAINTAINER="al.bobylev@gmail.com"
al@14737 8 LICENSE="zlib/libpng"
al@14737 9 WEB_SITE="http://apng2gif.sourceforge.net/"
Hans-G?nter@20710 10
al@14737 11 TARBALL="$PACKAGE-$VERSION-src.zip"
al@14737 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
al@14737 13
pascal@24340 14 # What is the latest version available today?
pascal@24340 15 current_version()
pascal@24340 16 {
pascal@24340 17 wget -O - https://sourceforge.net/projects/apng2gif/files/ 2>/dev/null | \
pascal@24340 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 19 sed '/scope="row/!d;s|.*files/||;s|/.*||;q'
pascal@24340 20 }
pascal@24340 21
al@14737 22 DEPENDS="zlib"
al@14737 23 BUILD_DEPENDS="zlib-dev"
al@14737 24
al@14737 25 # Rules to configure and make the package.
al@14737 26 compile_rules()
al@14737 27 {
al@14737 28 make
al@14737 29 }
al@14737 30
al@14737 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14737 32 genpkg_rules()
al@14737 33 {
al@14737 34 mkdir -p $fs/usr/bin
al@14737 35 cp -a $src/$PACKAGE $fs/usr/bin
al@14737 36 }