wok-next view rtorrent/receipt @ rev 4355

xarchive: add xz support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 04 15:34:46 2009 +0200 (2009-10-04)
parents 84cda1c7ccc7
children 8be66f03fbd2
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"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 strip -s $fs/usr/bin/*
33 }