wok view gtklife/receipt @ rev 21824

syslinux/taziso: floppy by floppy fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 10 09:01:01 2019 +0200 (2019-09-10)
parents 17e313b5b9c1
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="gtklife"
4 VERSION="5.2"
5 CATEGORY="games"
6 SHORT_DESC="Fast, featureful, open-source Conway's Life program."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ironphoenix.org/gtklife/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ironphoenix.org/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 ./configure \
23 --prefix=/usr \
24 --bindir=/usr/games \
25 --with-gtk2 \
26 $CONFIGURE_ARGS &&
27 make || return 1
29 mkdir -p \
30 $DESTDIR/usr/games \
31 $DESTDIR/usr/share/gtklife
32 cp -a graphics $DESTDIR/usr/share/gtklife
33 cp -a patterns $DESTDIR/usr/share/gtklife
34 cp gtklife $DESTDIR/usr/games
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }