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