wok-stable view rtorrent/receipt @ rev 5068
move static binaries in /usr/share/boot to avoid tazwok strip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 12 17:24:19 2010 +0100 (2010-03-12) |
parents | 8be66f03fbd2 |
children | 3541e02e9ad4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rtorrent"
4 VERSION="0.8.5"
5 CATEGORY="network"
6 SHORT_DESC="Ncurses based torrent client"
7 MAINTAINER="mimas@slitaz.org"
8 DEPENDS="ncurses libtorrent zlib ncursesw gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libtorrent.rakshasa.no/"
12 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
13 TAGS="torrent"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 strip -s $fs/usr/bin/*
34 }