wok-next annotate gkII/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 | 81a261d1fff0 |
children | acd27f3db454 |
rev | line source |
---|---|
pankso@4680 | 1 # SliTaz package receipt. |
pankso@4680 | 2 |
pankso@4680 | 3 PACKAGE="gkII" |
pankso@4680 | 4 VERSION="0.4.7" |
pankso@4680 | 5 CATEGORY="graphics" |
pankso@4680 | 6 SHORT_DESC="GTK2 based fractal program." |
pankso@4680 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4680 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4680 | 9 WEB_SITE="http://www.jwm-art.net/gkII/" |
pankso@4680 | 10 WGET_URL="http://www.jwm-art.net/gkII/$TARBALL" |
pankso@4680 | 11 DEPENDS="gtk+" |
pankso@4680 | 12 BUILD_DEPENDS="gtk+-dev" |
pankso@4680 | 13 |
pankso@4680 | 14 # Rules to configure and make the package. |
pankso@4680 | 15 # |
pankso@4680 | 16 compile_rules() |
pankso@4680 | 17 { |
pankso@4680 | 18 cd $src/src |
pascal@15110 | 19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" |
pankso@4680 | 20 make |
pankso@4680 | 21 } |
pankso@4680 | 22 |
pankso@4680 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4680 | 24 genpkg_rules() |
pankso@4680 | 25 { |
pankso@4680 | 26 mkdir -p $fs/usr/bin |
pankso@4680 | 27 cp $src/src/gkII $fs/usr/bin |
pankso@4680 | 28 } |