wok-next annotate gtklife/receipt @ rev 4447
tazbb: generate flavors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 07 16:24:17 2009 +0100 (2009-11-07) |
parents | 7ceb93094fe3 |
children | 1ae5963f23df |
rev | line source |
---|---|
pankso@291 | 1 # SliTaz package receipt. |
pankso@291 | 2 |
pankso@291 | 3 PACKAGE="gtklife" |
pankso@291 | 4 VERSION="5.1" |
pankso@291 | 5 CATEGORY="games" |
pankso@291 | 6 SHORT_DESC="Fast, featureful, open-source Conway's Life program." |
pankso@291 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ xorg-libXdamage" |
pankso@291 | 9 BUILD_DEPENDS="gtk+-dev" |
pankso@291 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@291 | 11 WEB_SITE="http://ironphoenix.org/tril/gtklife/" |
pankso@291 | 12 WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL" |
pankso@291 | 13 |
pankso@291 | 14 # Rules to configure and make the package. |
pankso@291 | 15 compile_rules() |
pankso@291 | 16 { |
pankso@291 | 17 cd $src |
pankso@291 | 18 ./configure \ |
pankso@291 | 19 --prefix=/usr \ |
pankso@291 | 20 --bindir=/usr/games \ |
pankso@291 | 21 --with-gtk2 \ |
pascal@2516 | 22 $CONFIGURE_ARGS && |
pascal@2516 | 23 make || return 1 |
pankso@291 | 24 mkdir -p _pkg/usr/games _pkg/usr/share/gtklife |
pankso@291 | 25 cp -a graphics _pkg/usr/share/gtklife |
pankso@291 | 26 cp -a patterns _pkg/usr/share/gtklife |
pankso@291 | 27 cp gtklife _pkg/usr/games |
pankso@291 | 28 } |
pankso@291 | 29 |
pankso@291 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@291 | 31 genpkg_rules() |
pankso@291 | 32 { |
pankso@291 | 33 cp -a $_pkg/* $fs |
pankso@291 | 34 } |
pankso@291 | 35 |