wok-current annotate jpegoptim/receipt @ rev 25604

Use gcc49 to build mysql
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 20:31:42 2023 +0000 (16 months ago)
parents ac8ca9758df1
children
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@25375 16 # What is the latest version available today?
pascal@24095 17 current_version()
pascal@24095 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@25375 20 sed '/archive.*tar/!d;s|.*/[A-Z\.v]\(.*\).tar.*|\1|;q'
pascal@24095 21 }
pascal@24095 22
pascal@24095 23 # Rules to configure and make the package.
pascal@24095 24 compile_rules()
pascal@24095 25 {
pascal@24095 26 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@24095 27 $CONFIGURE_ARGS &&
pascal@24095 28 make &&
pascal@24095 29 make DESTDIR=$DESTDIR install
pascal@24095 30 }
pascal@24095 31
pascal@24095 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24095 33 genpkg_rules()
pascal@24095 34 {
pascal@24095 35 mkdir -p $fs/usr
pascal@24095 36 cp -a $install/usr/bin $fs/usr
pascal@24095 37 }