wok view pngnq-s9/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (4 months ago) |
parents | ad0bc3efbf37 |
children |
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 }