wok-next view gkII/receipt @ rev 20342

gkII: tiny png patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 17 15:57:17 2017 +0100 (2017-11-17)
parents acd27f3db454
children d958fec46c9f
line source
1 # SliTaz package receipt.
3 PACKAGE="gkII"
4 VERSION="0.4.7"
5 CATEGORY="graphics"
6 SHORT_DESC="GTK2 based fractal program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.jwm-art.net/gkII/"
11 WGET_URL="http://www.jwm-art.net/gkII/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 #
18 compile_rules()
19 {
20 cd $src/src
21 sed -i 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' my_png.c
22 sed -i 's/LIBS.*/& -lm/' Makefile
23 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp $src/src/gkII $fs/usr/bin
31 }