wok-stable view libtorrent-rasterbar/receipt @ rev 8227

imported patch cleanup/xvidcore.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children 2d7a7b6c0b63
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent-rasterbar"
4 VERSION="0.15.4"
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 BUILD_DEPENDS="libboost-thread-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.rasterbar.com/products/libtorrent/"
12 WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --enable-python-binding \
19 $CONFIGURE_ARGS &&
20 make -j4 &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/python* $fs/usr/lib
30 }