wok view flam3/receipt @ rev 7388

flam3: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 10:58:15 2010 +0100 (2010-11-26)
parents e70ca7cf693d
children 582724377a48
line source
1 # SliTaz package receipt.
3 PACKAGE="flam3"
4 VERSION="3.0"
5 CATEGORY="graphics"
6 SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="expat libjpeg libpng libxml2"
9 BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://flam3.com/"
12 WGET_URL="http://flam3.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/$PACKAGE-$VERSION/src
18 cd $src/src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make -j 4 && make DESTDIR=$PWD/../_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/src/_pkg
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr/
33 cp -a $_pkg/usr/share/flam3 $fs/usr/share/
34 }