wok-4.x annotate libtorrent-rasterbar/receipt @ rev 9297

Add perl-test-pod.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 07:08:58 2011 +0000 (2011-03-17)
parents 2d7a7b6c0b63
children 50aab44bec09
rev   line source
slaxemulator@6730 1 # SliTaz package receipt.
slaxemulator@6730 2
slaxemulator@6730 3 PACKAGE="libtorrent-rasterbar"
slaxemulator@8367 4 VERSION="0.15.5"
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