wok-6.x view pngnq-s9/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (2022-09-23) |
parents | 080c1dff8494 |
children | 69e1e705f038 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pngnq-s9"
4 VERSION="2.0.2"
5 CATEGORY="graphics"
6 SHORT_DESC="The neural network colour quantizer for png images"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/pngnqs9"
11 WGET_URL="$SF_MIRROR/${PACKAGE/-/}/$TARBALL"
13 DEPENDS="zlib libpng"
14 BUILD_DEPENDS="zlib-dev libpng-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/pngnqs9/files/ 2>/dev/null | \
20 sed '/scope="row/!d;/pngnq/!d;/tar.gz/!d;s|.*/pngnq-s9-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }