wok-6.x view pngcrush/receipt @ rev 24683
updated jack-audio-connection-kit and jack-audio-connection-kit-dev (0.125.0 -> 1.9.20)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 10:39:47 2022 +0100 (2022-03-12) |
parents | 73e9a7d984fc |
children | ad0bc3efbf37 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pngcrush"
4 VERSION="1.8.1"
5 CATEGORY="graphics"
6 SHORT_DESC="PNG optimizer"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://sourceforge.net/projects/pmt/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/pmt/$TARBALL"
13 DEPENDS="glibc-base"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/pmt/files/pngcrush/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/pngcrush/||;s|/.*||;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/pngcrush $install/usr/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }