wok-next annotate flam3/receipt @ rev 20299

Up remmina (1.2.0-rcgit.24)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 09 22:26:00 2017 +0100 (2017-11-09)
parents 2758b576b60b
children dd145c435e4b
rev   line source
pascal@20030 1 # SliTaz package receipt v2.
gokhlayeh@6998 2
gokhlayeh@6998 3 PACKAGE="flam3"
pascal@20030 4 VERSION="3.1.1"
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"
pascal@15588 8 LICENSE="GPL3"
gokhlayeh@6998 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@6998 10 WEB_SITE="http://flam3.com/"
pascal@20030 11 WGET_URL="https://github.com/scottdraves/flam3/archive/v$VERSION.tar.gz"
gokhlayeh@6998 12
pascal@15588 13 BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev"
pascal@20030 14 SPLIT="flam3 flam3-dev"
pascal@15588 15
gokhlayeh@6998 16 # Rules to configure and make the package.
gokhlayeh@6998 17 compile_rules()
gokhlayeh@6998 18 {
pascal@7388 19 cd $src/src
gokhlayeh@6998 20 ./configure \
gokhlayeh@6998 21 --prefix=/usr \
gokhlayeh@6998 22 --infodir=/usr/share/info \
gokhlayeh@6998 23 --mandir=/usr/share/man \
gokhlayeh@6998 24 $CONFIGURE_ARGS &&
pascal@18381 25 make $MAKEFLAGS && make DESTDIR=$DESTDIR -j 1 install
gokhlayeh@6998 26 }
gokhlayeh@6998 27
gokhlayeh@6998 28 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6998 29 genpkg_rules()
gokhlayeh@6998 30 {
pascal@20030 31 case $PACKAGE in
pascal@20030 32 flam3)
pascal@20030 33 DEPENDS="expat libjpeg libpng libxml2"
pascal@20030 34 mkdir -p $fs/usr/share
pascal@20030 35 cp -a $install/usr/bin $fs/usr/
pascal@20030 36 cp -a $install/usr/share/flam3 $fs/usr/share/
pascal@20030 37 ;;
pascal@20030 38 flam3-dev)
pascal@20030 39 CAT="development|Tools to create/display fractal flames: algorithmically generated images and animations (devel files)"
pascal@20030 40 DEPENDS="flam3 pkg-config"
pascal@20030 41 mkdir -p $fs/usr
pascal@20030 42 cp -a $install/usr/lib $fs/usr
pascal@20030 43 cp -a $install/usr/include $fs/usr
pascal@20030 44 ;;
pascal@20030 45 esac
gokhlayeh@6998 46 }