wok-next annotate libtorrent-rasterbar/receipt @ rev 10742
Up: slitaz-doc (4.2) - New style and include all doc (no more in locale pack)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 30 02:35:50 2011 +0200 (2011-05-30) |
parents | c343f13ff37f |
children | 5b69768015ff |
rev | line source |
---|---|
slaxemulator@6730 | 1 # SliTaz package receipt. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
slaxemulator@10228 | 4 VERSION="0.15.6" |
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" |
slaxemulator@6730 | 8 DEPENDS="libboost-thread libboost-filesystem libboost-python openssl python" |
slaxemulator@10228 | 9 BUILD_DEPENDS="libboost-thread-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev" |
slaxemulator@6730 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6730 | 11 WEB_SITE="http://www.rasterbar.com/products/libtorrent/" |
slaxemulator@6730 | 12 WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL" |
slaxemulator@6730 | 13 |
slaxemulator@6730 | 14 # Rules to configure and make the package. |
slaxemulator@6730 | 15 compile_rules() |
slaxemulator@6730 | 16 { |
slaxemulator@6730 | 17 cd $src |
slaxemulator@10228 | 18 ./configure --enable-python-binding \ |
slaxemulator@10228 | 19 $CONFIGURE_ARGS && |
gokhlayeh@8303 | 20 make && make install |
slaxemulator@6730 | 21 } |
slaxemulator@6730 | 22 |
slaxemulator@6730 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6730 | 24 genpkg_rules() |
slaxemulator@6730 | 25 { |
slaxemulator@6730 | 26 mkdir -p $fs/usr/lib |
slaxemulator@6730 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6730 | 28 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
slaxemulator@6730 | 29 } |
slaxemulator@6730 | 30 |