PKGBUILDs/community/libtorrent/PKGBUILD

27 lines
689 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# 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: