wok annotate apng2gif/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (5 months ago)
parents 7dd01dedad38
children
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"
pascal@25460 9 WEB_SITE="https://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@25605 18 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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 }