wok-current annotate libtorrent-rasterbar/receipt @ rev 17188

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