# SliTaz package receipt. PACKAGE="libtorrent-rasterbar" VERSION="0.15.6" CATEGORY="development" SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" MAINTAINER="slaxemulator@gmail.com" DEPENDS="libboost-thread libboost-filesystem libboost-python openssl python" BUILD_DEPENDS="libboost-thread-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.rasterbar.com/products/libtorrent/" WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --enable-python-binding \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/python* $fs/usr/lib }