wok annotate advancecomp/receipt @ rev 10410
patch: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 07:02:00 2011 +0000 (2011-05-24) |
parents | f4fd0777003f |
children | 617dbdeb6f7e |
rev | line source |
---|---|
pascal@4524 | 1 # SliTaz package receipt. |
pascal@4524 | 2 |
pascal@4524 | 3 PACKAGE="advancecomp" |
pascal@4524 | 4 VERSION="1.15" |
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@4524 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4524 | 9 WEB_SITE="http://advancemame.sourceforge.net/comp-readme.html" |
pascal@4524 | 10 WGET_URL="$SF_MIRROR/advancemame/$TARBALL" |
pascal@4524 | 11 DEPENDS="gcc-lib-base zlib" |
pascal@4524 | 12 BUILD_DEPENDS="zlib-dev" |
jozee@4932 | 13 TAGS="compression archive" |
pascal@4524 | 14 |
pascal@4524 | 15 # Rules to configure and make the package. |
pascal@4524 | 16 compile_rules() |
pascal@4524 | 17 { |
pascal@4524 | 18 cd $src |
pascal@4524 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4524 | 20 --mandir=/usr/share/man \ |
pascal@4524 | 21 $CONFIGURE_ARGS && |
pascal@4524 | 22 make && |
pascal@4524 | 23 make DESTDIR=$PWD/_pkg install |
pascal@4524 | 24 } |
pascal@4524 | 25 |
pascal@4524 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4524 | 27 genpkg_rules() |
pascal@4524 | 28 { |
pascal@4524 | 29 mkdir -p $fs/usr |
pascal@4524 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@4524 | 31 } |