wok view rtorrent/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 8c058fcbe24b
children 3b4e4318134e
line source
1 # SliTaz package receipt.
3 PACKAGE="rtorrent"
4 VERSION="0.8.9"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses based torrent client"
7 MAINTAINER="mimas@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://libtorrent.rakshasa.no/"
10 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
11 TAGS="torrent"
13 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc-lib-base"
14 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
15 libsigc++-dev curl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
22 ./configure \
23 --with-xmlrpc-c \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }