wok annotate jpegtran/receipt @ rev 21115

libaio: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 19 18:51:13 2019 +0100 (2019-03-19)
parents 23c3aed67cd9
children 024fe17e2217
rev   line source
pascal@14899 1 # SliTaz package receipt.
pascal@14899 2
pascal@14899 3 PACKAGE="jpegtran"
pascal@14899 4 VERSION="9a"
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"
pascal@14899 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14899 10 WEB_SITE="http://jpegclub.org/"
pascal@14899 11 WGET_URL="${WEB_SITE}jpegcrop.tar.gz"
pascal@14899 12
pascal@14899 13 DEPENDS=""
pascal@14899 14 BUILD_DEPENDS=""
pascal@14899 15
pascal@14899 16 # Rules to configure and make the package.
pascal@14899 17 compile_rules()
pascal@14899 18 {
pascal@20558 19 cd $src/jpeg*
pascal@14899 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@14899 21 --mandir=/usr/share/man \
pascal@14899 22 $CONFIGURE_ARGS &&
pascal@14899 23 make &&
pascal@14899 24 make DESTDIR=$DESTDIR install
pascal@14899 25 }
pascal@14899 26
pascal@14899 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14899 28 genpkg_rules()
pascal@14899 29 {
pascal@14899 30 mkdir -p $fs/usr/lib
pascal@14899 31 cp -a $install/usr/bin $fs/usr
pascal@14899 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14899 33 }