wok annotate libtorrent-rasterbar/receipt @ rev 8303

cleanup: libtorrent-rasterbar
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:52:12 2011 +0100 (2011-02-01)
parents 986f3d58d068
children c343f13ff37f
rev   line source
slaxemulator@6730 1 # SliTaz package receipt.
slaxemulator@6730 2
slaxemulator@6730 3 PACKAGE="libtorrent-rasterbar"
slaxemulator@6730 4 VERSION="0.15.4"
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@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
slaxemulator@6730 13 # Rules to configure and make the package.
slaxemulator@6730 14 compile_rules()
slaxemulator@6730 15 {
slaxemulator@6730 16 cd $src
gokhlayeh@8303 17 ./configure --enable-python-binding &&
gokhlayeh@8303 18 make && make install
slaxemulator@6730 19 }
slaxemulator@6730 20
slaxemulator@6730 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6730 22 genpkg_rules()
slaxemulator@6730 23 {
slaxemulator@6730 24 mkdir -p $fs/usr/lib
slaxemulator@6730 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6730 26 cp -a $_pkg/usr/lib/python* $fs/usr/lib
slaxemulator@6730 27 }
slaxemulator@6730 28