wok-6.x annotate 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
rev   line source
gokhlayeh@6998 1 # SliTaz package receipt.
gokhlayeh@6998 2
gokhlayeh@6998 3 PACKAGE="flam3"
slaxemulator@7384 4 VERSION="3.0"
gokhlayeh@6998 5 CATEGORY="graphics"
gokhlayeh@6998 6 SHORT_DESC="Tools to create/display fractal flames: algorithmically generated images and animations"
gokhlayeh@6998 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@6998 8 DEPENDS="expat libjpeg libpng libxml2"
gokhlayeh@6998 9 BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev"
gokhlayeh@6998 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@6998 11 WEB_SITE="http://flam3.com/"
slaxemulator@7384 12 WGET_URL="http://flam3.googlecode.com/files/$TARBALL"
gokhlayeh@6998 13
gokhlayeh@6998 14 # Rules to configure and make the package.
gokhlayeh@6998 15 compile_rules()
gokhlayeh@6998 16 {
slaxemulator@7386 17 src=$WOK/$PACKAGE/$PACKAGE-$VERSION/src
gokhlayeh@6998 18 cd $src
gokhlayeh@6998 19 ./configure \
gokhlayeh@6998 20 --prefix=/usr \
gokhlayeh@6998 21 --infodir=/usr/share/info \
gokhlayeh@6998 22 --mandir=/usr/share/man \
gokhlayeh@6998 23 $CONFIGURE_ARGS &&
gokhlayeh@6998 24 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@6998 25 }
gokhlayeh@6998 26
gokhlayeh@6998 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6998 28 genpkg_rules()
gokhlayeh@6998 29 {
slaxemulator@7386 30 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/src/_pkg
gokhlayeh@6998 31 mkdir -p $fs/usr/share
gokhlayeh@6998 32 cp -a $_pkg/usr/bin $fs/usr/
gokhlayeh@6998 33 cp -a $_pkg/usr/share/flam3 $fs/usr/share/
gokhlayeh@6998 34 }
gokhlayeh@6998 35
gokhlayeh@6998 36