wok-current annotate 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 |
rev | line source |
---|---|
pascal@24095 | 1 # SliTaz package receipt. |
pascal@24095 | 2 |
pascal@24095 | 3 PACKAGE="jpegoptim" |
pascal@24095 | 4 VERSION="1.4.6" |
pascal@24095 | 5 CATEGORY="utilities" |
pascal@24095 | 6 SHORT_DESC="Utility to optimize/compress JPEG files." |
pascal@24095 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24095 | 8 LICENSE="GPL2" |
pascal@24095 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24095 | 10 WEB_SITE="https://github.com/tjko/jpegoptim" |
pascal@24095 | 11 WGET_URL="$WEB_SITE/archive/refs/tags/RELEASE.$VERSION.tar.gz" |
pascal@24095 | 12 |
pascal@24095 | 13 BUILD_DEPENDS="jpeg-dev" |
pascal@24095 | 14 DEPENDS="jpeg-dev" |
pascal@24095 | 15 |
pascal@24095 | 16 current_version() |
pascal@24095 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24095 | 19 sed '/archive.*tar/!d;s|.*/RELEASE.\(.*\).tar.*|\1|;q' |
pascal@24095 | 20 } |
pascal@24095 | 21 |
pascal@24095 | 22 # Rules to configure and make the package. |
pascal@24095 | 23 compile_rules() |
pascal@24095 | 24 { |
pascal@24095 | 25 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@24095 | 26 $CONFIGURE_ARGS && |
pascal@24095 | 27 make && |
pascal@24095 | 28 make DESTDIR=$DESTDIR install |
pascal@24095 | 29 } |
pascal@24095 | 30 |
pascal@24095 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24095 | 32 genpkg_rules() |
pascal@24095 | 33 { |
pascal@24095 | 34 mkdir -p $fs/usr |
pascal@24095 | 35 cp -a $install/usr/bin $fs/usr |
pascal@24095 | 36 } |