summaryrefslogtreecommitdiff
path: root/community/libtorrent/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/libtorrent/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/libtorrent/PKGBUILD')
-rw-r--r--community/libtorrent/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/libtorrent/PKGBUILD b/community/libtorrent/PKGBUILD
new file mode 100644
index 000000000..a3c670b43
--- /dev/null
+++ b/community/libtorrent/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <jeff@archlinux.org>
+# Contributor: sh__
+
+pkgname=libtorrent
+pkgver=0.12.6
+pkgrel=2
+pkgdesc="BitTorrent library written in C++"
+arch=('i686' 'x86_64')
+url="http://libtorrent.rakshasa.no"
+license=('GPL')
+depends=('libsigc++2.0' 'openssl')
+options=('!libtool')
+source=(http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz)
+md5sums=('037499ed708aaf72988cee60e5a8d96b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
+ ./configure --prefix=/usr --disable-debug || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: