wok-current view 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
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Z\.v]\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }