wok-6.x annotate jpegtran/receipt @ rev 25427

updated xapian and xapian-dev (1.4.15 -> 1.4.20)
author Hans-G?nter Theisgen
date Thu Aug 18 17:00:01 2022 +0100 (2022-08-18)
parents 024fe17e2217
children
rev   line source
pascal@14899 1 # SliTaz package receipt.
pascal@14899 2
pascal@14899 3 PACKAGE="jpegtran"
Hans-G?nter@22972 4 VERSION="9d"
pascal@14899 5 CATEGORY="graphics"
pascal@14899 6 SHORT_DESC="Convert jpeg files to progressive jpeg files."
pascal@14899 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15601 8 LICENSE="MIT"
Hans-G?nter@22972 9 WEB_SITE="http://jpegclub.org/"
Hans-G?nter@22972 10
pascal@14899 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22972 12 WGET_URL="${WEB_SITE}jpegcrop.tar.gz" # no version here!
pascal@14899 13
pascal@14899 14 DEPENDS=""
pascal@14899 15 BUILD_DEPENDS=""
pascal@14899 16
pascal@24433 17 # What is the latest version available today?
pascal@24433 18 current_version()
pascal@24433 19 {
pascal@24433 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24433 21 sed '/current version is release/!d;s|.*release ||;s| of.*||;q'
pascal@24433 22 }
pascal@24433 23
pascal@14899 24 # Rules to configure and make the package.
pascal@14899 25 compile_rules()
pascal@14899 26 {
pascal@20558 27 cd $src/jpeg*
Hans-G?nter@22972 28 ./configure \
Hans-G?nter@22972 29 --prefix=/usr \
Hans-G?nter@22972 30 --infodir=/usr/share/info \
Hans-G?nter@22972 31 --mandir=/usr/share/man \
Hans-G?nter@22972 32 $CONFIGURE_ARGS &&
pascal@14899 33 make &&
pascal@14899 34 make DESTDIR=$DESTDIR install
pascal@14899 35 }
pascal@14899 36
pascal@14899 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14899 38 genpkg_rules()
pascal@14899 39 {
pascal@14899 40 mkdir -p $fs/usr/lib
Hans-G?nter@22972 41
Hans-G?nter@22972 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22972 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14899 44 }