wok-6.x view libtorrent-rasterbar/receipt @ rev 14526

Add fdutils
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 17 22:49:50 2013 +0200 (2013-05-17)
parents 5b69768015ff
children 6e5c595df106
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="0.16.1"
5 CATEGORY="development"
6 SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libboost-thread libboost-filesystem libboost-python openssl python \
9 libboost-system"
10 BUILD_DEPENDS="libboost-thread-dev libboost-filesystem-dev libboost-python-dev \
11 openssl-dev zlib-dev python-dev libboost-system-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.rasterbar.com/products/libtorrent/"
14 WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --enable-python-binding \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/python* $fs/usr/lib
31 }