mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
26 lines
689 B
Bash
26 lines
689 B
Bash
# Maintainer: Daenyth <Daenyth+Arch [at] gmail [dot] com>
|
|
# Contributor: Jeff Mickey <jeff@archlinux.org>
|
|
# Contributor: sh__
|
|
|
|
pkgname=libtorrent
|
|
pkgver=0.12.5
|
|
pkgrel=1
|
|
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=('fe8155d364b220713074423100d4bf29')
|
|
|
|
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:
|