wok-next view libtorrent/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | e8dfa7a938d8 |
children | b18dfc65984c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent"
4 VERSION="0.12.9"
5 CATEGORY="network"
6 SHORT_DESC="Torrent library for rtorrent"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libtorrent.rakshasa.no/"
11 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
12 CROSS="bug: can not run test program"
14 DEPENDS="curl libsigc++ openssl"
15 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --build=$HOST_SYSTEM \
23 --host=$HOST_SYSTEM &&
24 make && make 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 $install/usr/lib/*.so* $fs/usr/lib
32 }