wok-next view gtklife/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 17e313b5b9c1
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://ironphoenix.org/tril/gtklife/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
19 ./configure \
20 --prefix=/usr \
21 --bindir=/usr/games \
22 --with-gtk2 \
23 $CONFIGURE_ARGS &&
24 make || return 1
26 mkdir -p $DESTDIR/usr/games $DESTDIR/usr/share/gtklife
27 cp -a graphics $DESTDIR/usr/share/gtklife
28 cp -a patterns $DESTDIR/usr/share/gtklife
29 cp gtklife $DESTDIR/usr/games
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="gtk2 xorg-libXdamage"
35 }