From 11711de1942a141f28faef695c4c78c8357fbf23 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Mar 2012 00:01:22 +0000 Subject: Mon Mar 5 00:01:22 UTC 2012 --- testing/libtorrent-rasterbar/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 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..945acefaa --- /dev/null +++ b/testing/libtorrent-rasterbar/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 151819 2012-03-03 08:09:02Z ibiru $ +# Maintainer : Ionut Biru +# Contributor: Hugo Doria + +pkgname=libtorrent-rasterbar +pkgver=0.15.10 +pkgrel=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=('3e461d9ede5fab3fb59be6a9f0cbc52121d536c4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export CFLAGS+=" -fvisibility=hidden" + export CXXFLAGS+=" -fvisibility=hidden" + ./configure --prefix=/usr \ + --enable-python-binding \ + --with-libgeoip=system + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf