updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libtorrent-fallocate / PKGBUILD
blobf3d106f422bb8408e462e6dfc3a3eba334374a56
1 # Maintainer: Juan Diego Tascon
3 pkgname=libtorrent-fallocate
4 _pkgname=libtorrent
5 pkgver=0.12.9
6 pkgrel=1
7 pkgdesc="BitTorrent library written in C++. With support for fallocate (preallocate)"
8 arch=('i686' 'x86_64')
9 url="http://libtorrent.rakshasa.no"
10 license=('GPL')
11 depends=('libsigc++2.0' 'openssl')
12 options=('!libtool')
13 conflicts=("${_pkgname}")
14 provides=("${_pkgname}")
15 source=(http://libtorrent.rakshasa.no/downloads/$_pkgname-$pkgver.tar.gz)
17 build() {
18   cd "$srcdir/$_pkgname-$pkgver"
20   CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
21     ./configure --prefix=/usr --disable-debug --with-posix-fallocate || return 1
22   make || return 1
23   make DESTDIR="$pkgdir" install
26 # vim:set ts=2 sw=2 et:
27 md5sums=('b128bbd324f03eb42ef5060080f87548')