wok view jpegoptim/receipt @ rev 24212

updated perl-file-slurp (9999.30 -> 9999.32)
author Hans-G?nter Theisgen
date Fri Dec 31 16:13:01 2021 +0100 (2021-12-31)
parents
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="jpegoptim"
4 VERSION="1.4.6"
5 CATEGORY="utilities"
6 SHORT_DESC="Utility to optimize/compress JPEG files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/tjko/jpegoptim"
11 WGET_URL="$WEB_SITE/archive/refs/tags/RELEASE.$VERSION.tar.gz"
13 BUILD_DEPENDS="jpeg-dev"
14 DEPENDS="jpeg-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/RELEASE.\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }