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