wok-current view apngasm/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents e32fb43ef973
children
line source
1 # SliTaz package receipt.
3 PACKAGE="apngasm"
4 VERSION="3.1.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Creates APNG animation from PNG/TGA image sequence."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://github.com/apngasm/apngasm"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="libboost-filesystem libboost-program-options libboost-regex
15 libboost-system libpng"
16 BUILD_DEPENDS="cmake libboost-filesystem-dev libboost-program-options-dev
17 libboost-regex-dev libboost-system-dev libpng-dev zlib-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build
29 cd build
30 cmake .. &&
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/build/cli/$PACKAGE $fs/usr/bin
39 }