wok-6.x annotate gtklife/receipt @ rev 17248
libgringotts: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 11:51:39 2014 +0200 (2014-10-19) |
parents | 1ae5963f23df |
children | 17e313b5b9c1 |
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@15589 | 8 LICENSE="GPL2" |
pankso@291 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@291 | 10 WEB_SITE="http://ironphoenix.org/tril/gtklife/" |
pankso@291 | 11 WGET_URL="http://ironphoenix.org/tril/gtklife/$TARBALL" |
pankso@291 | 12 |
pascal@15589 | 13 DEPENDS="gtk+ xorg-libXdamage" |
pascal@15589 | 14 BUILD_DEPENDS="gtk+-dev" |
pascal@15589 | 15 |
pankso@291 | 16 # Rules to configure and make the package. |
pankso@291 | 17 compile_rules() |
pankso@291 | 18 { |
pankso@291 | 19 cd $src |
pascal@15110 | 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
pankso@291 | 21 ./configure \ |
pankso@291 | 22 --prefix=/usr \ |
pankso@291 | 23 --bindir=/usr/games \ |
pankso@291 | 24 --with-gtk2 \ |
pascal@2516 | 25 $CONFIGURE_ARGS && |
pascal@2516 | 26 make || return 1 |
pascal@15589 | 27 mkdir -p $DESTDIR/usr/games $DESTDIR/usr/share/gtklife |
pascal@15589 | 28 cp -a graphics $DESTDIR/usr/share/gtklife |
pascal@15589 | 29 cp -a patterns $DESTDIR/usr/share/gtklife |
pascal@15589 | 30 cp gtklife $DESTDIR/usr/games |
pankso@291 | 31 } |
pankso@291 | 32 |
pankso@291 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@291 | 34 genpkg_rules() |
pankso@291 | 35 { |
pascal@15589 | 36 cp -a $install/* $fs |
pankso@291 | 37 } |
pankso@291 | 38 |