wok-next view gtklife/receipt @ rev 19356

Up ranger (1.7.2)
author Paul Issott <paul@slitaz.org>
date Tue Jul 26 19:09:36 2016 +0100 (2016-07-26)
parents d1c17bd2c2bc
children f48456621a9d
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 }