wok-6.x view apngasm/receipt @ rev 23861

xvkbd: fix fetch,compile,and genpkg
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 19 01:26:32 2020 -0400 (2020-06-19)
parents 86790a278e70
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build
23 cd build
24 cmake .. &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/build/cli/$PACKAGE $fs/usr/bin
33 }