wok-6.x view xaos/receipt @ rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents 5e6810e4a860
children cb67b4f8be05
line source
1 # SliTaz package receipt.
3 PACKAGE="xaos"
4 VERSION="3.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Fast interactive fractal zoomer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://matek.hu/xaos/"
11 WGET_URL="http://heanet.dl.sourceforge.net/project/xaos/XaoS/$VERSION/$TARBALL"
13 DEPENDS="libpng zlib"
14 BUILD_DEPENDS="pkg-config libpng-dev nasm gettext"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/xaos-project/XaoS/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs/
37 }