From 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 17 Jul 2012 00:01:52 +0000 Subject: Tue Jul 17 00:01:52 UTC 2012 --- testing/libtorrent-rasterbar/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/libtorrent-rasterbar/PKGBUILD (limited to 'testing/libtorrent-rasterbar') diff --git a/testing/libtorrent-rasterbar/PKGBUILD b/testing/libtorrent-rasterbar/PKGBUILD new file mode 100644 index 000000000..1144770d1 --- /dev/null +++ b/testing/libtorrent-rasterbar/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 163550 2012-07-15 13:17:05Z ibiru $ +# Maintainer : Ionut Biru +# Contributor: Hugo Doria + +pkgname=libtorrent-rasterbar +pkgver=0.16.1 +pkgrel=1 +epoch=1 +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=('boost-libs' 'geoip' 'python2') +makedepends=('boost') +options=('!libtool' '!emptydirs') +source=(http://libtorrent.googlecode.com/files/$pkgname-$pkgver.tar.gz) +sha1sums=('798944301ee6ef8e0d8de3d944c59d184ef1a4d3') + +build() { + cd $pkgname-$pkgver + PYTHON2=/usr/bin/python2 ./configure --prefix=/usr \ + --enable-python-binding \ + --with-libgeoip=system + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf