wok-6.x annotate jpegtran/receipt @ rev 19923
lemon: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 20 10:46:08 2017 +0200 (2017-04-20) |
parents | a3fafab03b51 |
children | 1a1ef232e14d |
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@14899 | 19 cd $src/jpeg-9a |
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 } |