wok-current view gtklife/receipt @ rev 1530
gperiodic: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 14:58:25 2008 +0000 (2008-10-09) |
parents | |
children | 8b79c3ee7ac2 |
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+"
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 ./configure \
19 --prefix=/usr \
20 --bindir=/usr/games \
21 --with-gtk2 \
22 $CONFIGURE_ARGS
23 make
24 mkdir -p _pkg/usr/games _pkg/usr/share/gtklife
25 cp -a graphics _pkg/usr/share/gtklife
26 cp -a patterns _pkg/usr/share/gtklife
27 cp gtklife _pkg/usr/games
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/* $fs
34 }