wok-stable annotate libtorrent-rasterbar/receipt @ rev 8053

Up: cherokee to 1.0.18.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 16:12:21 2011 +0000 (2011-01-20)
parents
children 2d7a7b6c0b63
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 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@6730 18 ./configure --prefix=/usr --enable-python-binding \
slaxemulator@6730 19 $CONFIGURE_ARGS &&
slaxemulator@6730 20 make -j4 &&
slaxemulator@6730 21 make DESTDIR=$PWD/_pkg install
slaxemulator@6730 22 }
slaxemulator@6730 23
slaxemulator@6730 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6730 25 genpkg_rules()
slaxemulator@6730 26 {
slaxemulator@6730 27 mkdir -p $fs/usr/lib
slaxemulator@6730 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6730 29 cp -a $_pkg/usr/lib/python* $fs/usr/lib
slaxemulator@6730 30 }
slaxemulator@6730 31