wok-6.x annotate gtklife/receipt @ rev 15110
Add some LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 18:02:00 2013 +0000 (2013-08-14) |
parents | 8b79c3ee7ac2 |
children | d1c17bd2c2bc |
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 |
pascal@15110 | 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" |
pankso@291 | 19 ./configure \ |
pankso@291 | 20 --prefix=/usr \ |
pankso@291 | 21 --bindir=/usr/games \ |
pankso@291 | 22 --with-gtk2 \ |
pascal@2516 | 23 $CONFIGURE_ARGS && |
pascal@2516 | 24 make || return 1 |
pankso@291 | 25 mkdir -p _pkg/usr/games _pkg/usr/share/gtklife |
pankso@291 | 26 cp -a graphics _pkg/usr/share/gtklife |
pankso@291 | 27 cp -a patterns _pkg/usr/share/gtklife |
pankso@291 | 28 cp gtklife _pkg/usr/games |
pankso@291 | 29 } |
pankso@291 | 30 |
pankso@291 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@291 | 32 genpkg_rules() |
pankso@291 | 33 { |
pankso@291 | 34 cp -a $_pkg/* $fs |
pankso@291 | 35 } |
pankso@291 | 36 |