wok-next annotate jpegtran/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | |
children | 23c3aed67cd9 |
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@14899 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14899 | 9 WEB_SITE="http://jpegclub.org/" |
pascal@14899 | 10 WGET_URL="${WEB_SITE}jpegcrop.tar.gz" |
pascal@14899 | 11 |
pascal@14899 | 12 DEPENDS="" |
pascal@14899 | 13 BUILD_DEPENDS="" |
pascal@14899 | 14 |
pascal@14899 | 15 # Rules to configure and make the package. |
pascal@14899 | 16 compile_rules() |
pascal@14899 | 17 { |
pascal@14899 | 18 cd $src/jpeg-9a |
pascal@14899 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@14899 | 20 --mandir=/usr/share/man \ |
pascal@14899 | 21 $CONFIGURE_ARGS && |
pascal@14899 | 22 make && |
pascal@14899 | 23 make DESTDIR=$DESTDIR install |
pascal@14899 | 24 } |
pascal@14899 | 25 |
pascal@14899 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14899 | 27 genpkg_rules() |
pascal@14899 | 28 { |
pascal@14899 | 29 mkdir -p $fs/usr/lib |
pascal@14899 | 30 cp -a $install/usr/bin $fs/usr |
pascal@14899 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14899 | 32 } |