wok-current view gtklife/receipt @ rev 15330

gnome-doc-utils-dev: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:01:47 2013 +0000 (2013-09-28)
parents 8b79c3ee7ac2
children d1c17bd2c2bc
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 DEPENDS="gtk+ xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ironphoenix.org/tril/gtklife/"
12 WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 export 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
25 mkdir -p _pkg/usr/games _pkg/usr/share/gtklife
26 cp -a graphics _pkg/usr/share/gtklife
27 cp -a patterns _pkg/usr/share/gtklife
28 cp gtklife _pkg/usr/games
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $_pkg/* $fs
35 }