wok-current annotate libtorrent-rasterbar/receipt @ rev 14995
enlightenment: add license (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 09:25:15 2013 +0000 (2013-08-10) |
parents | b953f0236140 |
children | 8d6f480bf664 |
rev | line source |
---|---|
slaxemulator@6730 | 1 # SliTaz package receipt. |
slaxemulator@6730 | 2 |
slaxemulator@6730 | 3 PACKAGE="libtorrent-rasterbar" |
slaxemulator@14615 | 4 VERSION="0.16.10" |
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@14615 | 8 DEPENDS="libboost-thread libboost-math libboost-filesystem libboost-python openssl python" |
slaxemulator@14615 | 9 BUILD_DEPENDS="libboost-thread-dev libboost-math-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@14615 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@14615 | 28 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@6730 | 29 } |
slaxemulator@6730 | 30 |