wok-current annotate advancecomp/receipt @ rev 15502
util-linux-flock: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 18:13:51 2013 +0000 (2013-11-17) |
parents | 4273e906522b |
children | 46121975746c |
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@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@4524 | 11 WGET_URL="$SF_MIRROR/advancemame/$TARBALL" |
pascal@15362 | 12 TAGS="compression archive" |
pascal@15362 | 13 |
pascal@4524 | 14 DEPENDS="gcc-lib-base zlib" |
pascal@4524 | 15 BUILD_DEPENDS="zlib-dev" |
pascal@4524 | 16 |
pascal@4524 | 17 # Rules to configure and make the package. |
pascal@4524 | 18 compile_rules() |
pascal@4524 | 19 { |
pascal@4524 | 20 cd $src |
pascal@4524 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4524 | 22 --mandir=/usr/share/man \ |
pascal@4524 | 23 $CONFIGURE_ARGS && |
pascal@4524 | 24 make && |
pascal@15362 | 25 make DESTDIR=$DESTDIR install |
pascal@4524 | 26 } |
pascal@4524 | 27 |
pascal@4524 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4524 | 29 genpkg_rules() |
pascal@4524 | 30 { |
pascal@4524 | 31 mkdir -p $fs/usr |
pascal@15362 | 32 cp -a $install/usr/bin $fs/usr |
pascal@4524 | 33 } |