wok-current view jpegoptim/receipt @ rev 24390
updated c_icap and c_icap-dev (0.5.6 -> 0.5.10)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 17:45:34 2022 +0100 (2022-02-07) |
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 }