wok-current view gtklife/receipt @ rev 17374

Add linux64-aufs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 21 15:31:47 2014 +0100 (2014-11-21)
parents 1ae5963f23df
children 17e313b5b9c1
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="-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 }