wok annotate apngdis/receipt @ rev 25633

wbar: remove imlib2-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 24 10:30:04 2023 +0000 (6 months ago)
parents 69e1e705f038
children
rev   line source
al@14737 1 # SliTaz package receipt.
al@14737 2
al@14737 3 PACKAGE="apngdis"
Hans-G?nter@22489 4 VERSION="2.9"
al@14737 5 CATEGORY="utilities"
Hans-G?nter@22489 6 SHORT_DESC="Deconstruct APNG file into a sequence of PNG frames."
al@14737 7 MAINTAINER="al.bobylev@gmail.com"
al@14737 8 LICENSE="zlib/libpng"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/apngdis/"
Hans-G?nter@22489 10
al@14737 11 TARBALL="$PACKAGE-$VERSION-src.zip"
al@14737 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
al@14737 13
al@14737 14 DEPENDS="zlib"
al@14737 15 BUILD_DEPENDS="zlib-dev"
al@14737 16
pascal@24340 17 # What is the latest version available today?
pascal@24340 18 current_version()
pascal@24340 19 {
pascal@24340 20 wget -O - https://sourceforge.net/projects/apngdis/files/ 2>/dev/null | \
pascal@25605 21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24340 22 sed '/scope="row/!d;s|.*files/||;s|/.*||;q'
pascal@24340 23 }
pascal@24340 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
Hans-G?nter@22489 35 cp -a $src/$PACKAGE $fs/usr/bin
al@14737 36 }