wok view gtklife/receipt @ rev 19622

Up busybox (1.26.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 11 10:36:15 2017 +0100 (2017-01-11)
parents d1c17bd2c2bc
children ea56b66bde41
line source
1 # SliTaz package receipt.
3 PACKAGE="gtklife"
4 VERSION="5.1"
5 CATEGORY="games"
6 SHORT_DESC="Fast, featureful, open-source Conway's Life program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ironphoenix.org/tril/gtklife/"
11 WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 ./configure \
22 --prefix=/usr \
23 --bindir=/usr/games \
24 --with-gtk2 \
25 $CONFIGURE_ARGS &&
26 make || return 1
27 mkdir -p $DESTDIR/usr/games $DESTDIR/usr/share/gtklife
28 cp -a graphics $DESTDIR/usr/share/gtklife
29 cp -a patterns $DESTDIR/usr/share/gtklife
30 cp gtklife $DESTDIR/usr/games
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }