wok annotate flam3/receipt @ rev 24299

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