# HG changeset patch # User Christopher Rogers # Date 1287191685 0 # Node ID 986f3d58d0684a30b1124ae4777e412f8ffd8c3f # Parent f3a5ceaf4e115eb79c7419697388a7c442a5b047 Add libtorrent-rasterbar. Needed for deluge and miro. diff -r f3a5ceaf4e11 -r 986f3d58d068 libtorrent-rasterbar-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtorrent-rasterbar-dev/receipt Sat Oct 16 01:14:45 2010 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libtorrent-rasterbar-dev" +VERSION="0.15.4" +CATEGORY="development" +SHORT_DESC="devel files for libtorrent-rasterbar" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libtorrent-rasterbar" +WEB_SITE="http://www.rasterbar.com/products/libtorrent/" +WANTED="libtorrent-rasterbar" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib +} + diff -r f3a5ceaf4e11 -r 986f3d58d068 libtorrent-rasterbar/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libtorrent-rasterbar/receipt Sat Oct 16 01:14:45 2010 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="libtorrent-rasterbar" +VERSION="0.15.4" +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 --prefix=/usr --enable-python-binding \ + $CONFIGURE_ARGS && + make -j4 && + make DESTDIR=$PWD/_pkg 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 +} +