wok view xaos/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | 922f061231c2 |
children | d1f31f5f6401 |
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://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 }