wok-next view rtorrent/receipt @ rev 5558

ruby: fix compiling issues and receipt; still need to make it busybox compatible with 'cat -e'
author Rohit Joshi <jozee@slitaz.org>
date Thu May 13 14:07:53 2010 -0400 (2010-05-13)
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 }