wok-next view advancecomp/receipt @ rev 4639
linux-souce: Add tazpkg support (make tazpkg)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 25 22:39:27 2009 +0100 (2009-12-25) |
parents | |
children | f4fd0777003f |
line source
1 # SliTaz package receipt.
3 PACKAGE="advancecomp"
4 VERSION="1.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Recompression utilities for .ZIP, .PNG, .MNG and .GZ"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://advancemame.sourceforge.net/comp-readme.html"
10 WGET_URL="$SF_MIRROR/advancemame/$TARBALL"
11 DEPENDS="gcc-lib-base zlib"
12 BUILD_DEPENDS="zlib-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }