PKGBUILDs/extra/libtorrent-rasterbar/PKGBUILD
2009-10-09 21:23:22 -05:00

31 lines
1.2 KiB
Bash

# $Id: PKGBUILD 46263 2009-07-15 00:32:01Z giovanni $
# Maintainer: Hugo Doria <hugo@archlinux.org>
# Previous Maintainer: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
# Previous Maintainer: Bjorn Lindeijer <bjorn lindeijer nl>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
# Contributor: tardo <tardo@nagi-fanboi.net>
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')