wok annotate advancecomp/receipt @ rev 4524

Add advancecomp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 27 18:29:50 2009 +0100 (2009-11-27)
parents
children f4fd0777003f
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"
pascal@4524 13
pascal@4524 14 # Rules to configure and make the package.
pascal@4524 15 compile_rules()
pascal@4524 16 {
pascal@4524 17 cd $src
pascal@4524 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@4524 19 --mandir=/usr/share/man \
pascal@4524 20 $CONFIGURE_ARGS &&
pascal@4524 21 make &&
pascal@4524 22 make DESTDIR=$PWD/_pkg install
pascal@4524 23 }
pascal@4524 24
pascal@4524 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4524 26 genpkg_rules()
pascal@4524 27 {
pascal@4524 28 mkdir -p $fs/usr
pascal@4524 29 cp -a $_pkg/usr/bin $fs/usr
pascal@4524 30 }