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