wok-current view pngrewrite/receipt @ rev 25692
Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 22 16:28:42 2024 +0000 (7 months ago) |
parents | 73e9a7d984fc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pngrewrite"
4 VERSION="1.4.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Utility to reduce unnecessarily large palettes and bit depths in PNG image files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://entropymine.com/jason/pngrewrite/"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libpng"
14 BUILD_DEPENDS="libpng-dev zlib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
28 mkdir -p $install/usr/bin
29 cp -a $src/pngrewrite $install/usr/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }