wok-6.x view libtorrent/receipt @ rev 10376

libtorrent: no cross for now
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 12:44:00 2011 +0200 (2011-05-23)
parents 3541e02e9ad4
children e8dfa7a938d8
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 CROSS="bug: can not run test program"
13 DEPENDS="curl libsigc++ openssl"
14 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }