wok annotate gtklife/receipt @ rev 21473

updated mosh (1.2.5 -> 1.3.2) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 30 21:45:29 2019 +0200 (2019-04-30)
parents 17e313b5b9c1
children af8d823a3077
rev   line source
pankso@291 1 # SliTaz package receipt.
pankso@291 2
pankso@291 3 PACKAGE="gtklife"
Hans-G?nter@21011 4 VERSION="5.2"
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"
Hans-G?nter@21011 9 WEB_SITE="http://ironphoenix.org/gtklife/"
Hans-G?nter@21011 10
pankso@291 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21011 12 WGET_URL="http://ironphoenix.org/$PACKAGE/$TARBALL"
pankso@291 13
pascal@15589 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@15589 15 BUILD_DEPENDS="gtk+-dev"
pascal@15589 16
pankso@291 17 # Rules to configure and make the package.
pankso@291 18 compile_rules()
pankso@291 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@21011 21
Hans-G?nter@21011 22 ./configure \
Hans-G?nter@21011 23 --prefix=/usr \
Hans-G?nter@21011 24 --bindir=/usr/games \
Hans-G?nter@21011 25 --with-gtk2 \
pascal@2516 26 $CONFIGURE_ARGS &&
pascal@2516 27 make || return 1
Hans-G?nter@21011 28
Hans-G?nter@21011 29 mkdir -p \
Hans-G?nter@21011 30 $DESTDIR/usr/games \
Hans-G?nter@21011 31 $DESTDIR/usr/share/gtklife
Hans-G?nter@21011 32 cp -a graphics $DESTDIR/usr/share/gtklife
Hans-G?nter@21011 33 cp -a patterns $DESTDIR/usr/share/gtklife
Hans-G?nter@21011 34 cp gtklife $DESTDIR/usr/games
pankso@291 35 }
pankso@291 36
pankso@291 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@291 38 genpkg_rules()
pankso@291 39 {
pascal@15589 40 cp -a $install/* $fs
pankso@291 41 }