wok-next annotate jpegtran/receipt @ rev 18104
Up zsh (5.0.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 11:13:52 2015 +0200 (2015-06-01) |
parents | a3fafab03b51 |
children | d5aab818505e |
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 } |