wok-current view rtorrent/receipt @ rev 9120

firefox-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:36:09 2011 +0100 (2011-03-05)
parents 1707e54fb4cf
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="rtorrent"
4 VERSION="0.8.6"
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 pkg-config libsigc++-dev curl-dev"
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 }