wok view flam3/receipt @ rev 24092

Up get-pcem-roms (2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 18 13:15:53 2021 +0000 (2021-07-18)
parents 1ab5f2d42d60
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="flam3"
4 VERSION="3.1.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Tools to create and display fractal flames: algorithmically generated images and animations."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://flam3.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/scottdraves/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="expat libjpeg libpng libxml2"
15 BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libxml2-dev git"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 1 $MAKEFLAGS &&
32 make -j 1 DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr/
40 cp -a $install/usr/share/flam3 $fs/usr/share/
41 }