wok view flam3/receipt @ rev 7386

Fixed flam3 src and _pkg path.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 26 04:43:31 2010 +0000 (2010-11-26)
parents 77c15d20dc48
children 83c8a01f7dc5
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
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 }