wok-current view flam3/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 5ea0ce1cecc0
children
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*}/tags 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 }