wok view xaos/receipt @ rev 24976

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 06 11:04:25 2022 +0000 (24 months ago)
parents d1f31f5f6401
children 0262035dc1e7
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="https://xaos-project.github.io/"
11 WGET_URL="https://github.com/xaos-project/XaoS/archive/refs/tags/release-$VERSION.tar.gz"
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 }