wok-current view libtorrent-rasterbar/receipt @ rev 14274

njconnect - source file is now fixed on upstream level ;-)
author Pawel P. <xj@wp.pl>
date Fri Apr 05 12:14:08 2013 +0000 (2013-04-05)
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 }