wok-6.x annotate gitmail/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 | 02bbaa9d12ba |
children | d3fe634de29c |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gitmail" |
pankso@43 | 4 VERSION="0.4" |
pankso@203 | 5 CATEGORY="network" |
pankso@43 | 6 SHORT_DESC="Ghost In The Mail is a simple mail client." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2516 | 9 DEPENDS="gtk+ xorg-libXdamage" |
pascal@1514 | 10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" |
pankso@43 | 11 WEB_SITE="http://gitmail.sourceforge.net/" |
pankso@43 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
gokhlayeh@8792 | 17 cd $src |
pascal@15110 | 18 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" |
pascal@1511 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1511 | 20 make && |
pascal@15110 | 21 make DESTDIR=$DESTDIR \ |
pankso@43 | 22 gitmaildocdir=/usr/share/doc/GhostInTheMail \ |
pankso@43 | 23 install |
pankso@43 | 24 } |
pankso@43 | 25 |
pankso@43 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 27 genpkg_rules() |
pankso@43 | 28 { |
pankso@43 | 29 mkdir -p $fs/usr |
pascal@15110 | 30 cp -a $install/usr/bin $fs/usr |
pankso@43 | 31 } |