wok-stable view libtorrent/receipt @ rev 9754
libusb-compat: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 03:37:17 2011 +0200 (2011-05-11) |
parents | 8752c40cc534 |
children | d7a6899842fd |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent"
4 VERSION="0.12.6"
5 CATEGORY="network"
6 SHORT_DESC="Torrent library for rtorrent"
7 MAINTAINER="mimas@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://libtorrent.rakshasa.no/"
10 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
11 DEPENDS="curl libsigc++ openssl gcc-lib-base"
12 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
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/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }