[arch-commits] Commit in libtorrent-rasterbar/repos (3 files)
Ionut Biru
ibiru at archlinux.org
Sat Mar 3 08:09:02 UTC 2012
Date: Saturday, March 3, 2012 @ 03:09:01
Author: ibiru
Revision: 151818
db-move: moved libtorrent-rasterbar from [staging] to [testing] (i686)
Added:
libtorrent-rasterbar/repos/testing-i686/
libtorrent-rasterbar/repos/testing-i686/PKGBUILD
(from rev 151799, libtorrent-rasterbar/repos/staging-i686/PKGBUILD)
Deleted:
libtorrent-rasterbar/repos/staging-i686/
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: libtorrent-rasterbar/repos/testing-i686/PKGBUILD (from rev 151799, libtorrent-rasterbar/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-03-03 08:09:01 UTC (rev 151818)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+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"
+}
More information about the arch-commits
mailing list