wok-current view xaos/receipt @ rev 24942

BootProg: clear cmdline
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 20 15:10:50 2022 +0000 (2022-04-20)
parents cb67b4f8be05
children 1805f71c5d9f
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="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 }