wok-next annotate advancecomp/receipt @ rev 19097
Add jpeg-turbo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 03 20:39:24 2016 +0200 (2016-05-03) |
parents | 617dbdeb6f7e |
children | 45507bfb2b0d |
rev | line source |
---|---|
pascal@4524 | 1 # SliTaz package receipt. |
pascal@4524 | 2 |
pascal@4524 | 3 PACKAGE="advancecomp" |
pascal@18361 | 4 VERSION="1.20" |
pascal@4524 | 5 CATEGORY="system-tools" |
pascal@4524 | 6 SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ" |
pascal@4524 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
pascal@4524 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4524 | 10 WEB_SITE="http://advancemame.sourceforge.net/comp-readme.html" |
pascal@18361 | 11 WGET_URL="https://github.com/amadvance/advancecomp/releases/download/v$VERSION/$TARBALL" |
pascal@15362 | 12 TAGS="compression archive" |
pascal@15362 | 13 |
pascal@4524 | 14 DEPENDS="gcc-lib-base zlib" |
pascal@18361 | 15 BUILD_DEPENDS="zlib-dev wget" |
pascal@4524 | 16 |
pascal@4524 | 17 # Rules to configure and make the package. |
pascal@4524 | 18 compile_rules() |
pascal@4524 | 19 { |
pascal@4524 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@18361 | 21 --mandir=/usr/share/man \ |
pascal@18361 | 22 $CONFIGURE_ARGS && |
pascal@4524 | 23 make && |
pascal@15362 | 24 make DESTDIR=$DESTDIR install |
pascal@4524 | 25 } |
pascal@4524 | 26 |
pascal@4524 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4524 | 28 genpkg_rules() |
pascal@4524 | 29 { |
pascal@4524 | 30 mkdir -p $fs/usr |
pascal@15362 | 31 cp -a $install/usr/bin $fs/usr |
pascal@4524 | 32 } |