wok-6.x annotate gif2apng/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 75cd81889f63 |
children | 7dd01dedad38 |
rev | line source |
---|---|
al@14737 | 1 # SliTaz package receipt. |
al@14737 | 2 |
al@14737 | 3 PACKAGE="gif2apng" |
Hans-G?nter@20966 | 4 VERSION="1.9" |
al@14737 | 5 CATEGORY="utilities" |
Hans-G?nter@20966 | 6 SHORT_DESC="Convert GIF animations into APNG format." |
al@14737 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14737 | 8 LICENSE="zlib/libpng" |
al@14737 | 9 WEB_SITE="http://gif2apng.sourceforge.net/" |
Hans-G?nter@20966 | 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@24403 | 17 # What is the latest version available today? |
pascal@24403 | 18 current_version() |
pascal@24403 | 19 { |
pascal@24403 | 20 wget -O - https://sourceforge.net/projects/gif2apng/files/ 2>/dev/null | \ |
pascal@24403 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 22 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' |
pascal@24403 | 23 } |
pascal@24403 | 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 } |