# $Id: PKGBUILD 46263 2009-07-15 00:32:01Z giovanni $ # Maintainer: Hugo Doria # Previous Maintainer: Geoffroy Carrier # Previous Maintainer: Bjorn Lindeijer # Contributor: Andrea Scarpino # Contributor: tardo pkgname=libtorrent-rasterbar pkgver=0.14.4 pkgrel=2 pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around" url="http://www.rasterbar.com/products/libtorrent/" arch=('i686' 'x86_64') license=('custom') depends=('libsigc++2.0' 'boost>=1.39.0') conflicts=('rb_libtorrent') provides=('rb_libtorrent') source=(http://downloads.sourceforge.net/libtorrent/${pkgname}-${pkgver}.tar.gz) build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-python-binding \ --with-boost-filesystem=mt \ --with-boost-thread=mt \ --with-boost-regex=mt \ --with-boost-program_options=mt || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 install -D COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE } md5sums=('4c1f2bb19d210394316d92e69bd5bfde')