wok-next view rtorrent/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | 1ae5963f23df |
children | ae84e29836bb |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libtorrent.rakshasa.no/"
11 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
12 TAGS="torrent"
14 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc-lib-base"
15 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \
16 libsigc++-dev curl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
23 ./configure \
24 --with-xmlrpc-c \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }