wok-6.x view jpegoptim/receipt @ rev 24429
updated collectd (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 15:50:46 2022 +0100 (2022-02-12) |
parents | 95f66fb4280e |
children | fbe88431f963 |
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*}/tags 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 }