wok-next diff libtorrent-rasterbar/receipt @ rev 7188
Added libmad to libmad-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 08 22:52:24 2010 +0000 (2010-11-08) |
parents | |
children | 2d7a7b6c0b63 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libtorrent-rasterbar/receipt Mon Nov 08 22:52:24 2010 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libtorrent-rasterbar" 1.7 +VERSION="0.15.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libboost-thread libboost-filesystem libboost-python openssl python" 1.12 +BUILD_DEPENDS="libboost-thread-dev libboost-filesystem-dev libboost-python-dev openssl-dev zlib-dev python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.rasterbar.com/products/libtorrent/" 1.15 +WGET_URL="http://libtorrent.googlecode.com/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --enable-python-binding \ 1.22 + $CONFIGURE_ARGS && 1.23 + make -j4 && 1.24 + make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 + cp -a $_pkg/usr/lib/python* $fs/usr/lib 1.33 +} 1.34 +