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