wok-6.x view apngdis/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | d0a6ca5e0b70 |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apngdis"
4 VERSION="2.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Deconstruct APNG file into a sequence of PNG frames."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://sourceforge.net/projects/apngdis/"
11 TARBALL="$PACKAGE-$VERSION-src.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/apngdis/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*files/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/$PACKAGE $fs/usr/bin
36 }