wok annotate gkII/receipt @ rev 25705
fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 22 12:48:49 2024 +0000 (5 months ago) |
parents | c15fedfb9582 |
children |
rev | line source |
---|---|
pankso@4680 | 1 # SliTaz package receipt. |
pankso@4680 | 2 |
pankso@4680 | 3 PACKAGE="gkII" |
pankso@4680 | 4 VERSION="0.4.7" |
pankso@4680 | 5 CATEGORY="graphics" |
pankso@4680 | 6 SHORT_DESC="GTK2 based fractal program." |
pankso@4680 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15306 | 8 LICENSE="GPL2" |
pankso@4680 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25443 | 10 WEB_SITE="https://web.archive.org/web/20161229231057/http://www.jwm-art.net/gkII/" |
pascal@25441 | 11 WGET_URL="http://mirror.sobukus.de/files/grimoire/science/$TARBALL" |
pascal@15306 | 12 |
pankso@4680 | 13 DEPENDS="gtk+" |
pankso@4680 | 14 BUILD_DEPENDS="gtk+-dev" |
pankso@4680 | 15 |
pascal@25580 | 16 # What is the latest version available today? |
pascal@25580 | 17 current_version() |
pascal@25580 | 18 { |
pascal@25580 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@25580 | 20 sed '/gkII/!d;s|.*gkII-||;s|.tar.*||' |
pascal@25580 | 21 } |
pascal@25580 | 22 |
pankso@4680 | 23 # Rules to configure and make the package. |
pankso@4680 | 24 compile_rules() |
pankso@4680 | 25 { |
pankso@4680 | 26 cd $src/src |
pascal@15306 | 27 sed -i 's/LIBS.*/& -lm/' Makefile |
pankso@4680 | 28 make |
pankso@4680 | 29 } |
pankso@4680 | 30 |
pankso@4680 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4680 | 32 genpkg_rules() |
pankso@4680 | 33 { |
pankso@4680 | 34 mkdir -p $fs/usr/bin |
pankso@4680 | 35 cp $src/src/gkII $fs/usr/bin |
pankso@4680 | 36 } |