From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/libtorrent-rasterbar/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extra/libtorrent-rasterbar/PKGBUILD (limited to 'extra/libtorrent-rasterbar') diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD new file mode 100644 index 000000000..2918856be --- /dev/null +++ b/extra/libtorrent-rasterbar/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 111968 2011-03-02 18:24:01Z ibiru $ +# Maintainer : Ionut Biru +# Contributor: Hugo Doria + +pkgname=libtorrent-rasterbar +pkgver=0.15.5 +pkgrel=2 +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' 'python2') +makedepends=('boost') +source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz) +md5sums=('f1504a619e876c2731ee9a6b7d19cb1d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export CFLAGS="${CFLAGS} -DBOOST_FILESYSTEM_VERSION=2" + export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" + ./configure --prefix=/usr --enable-python-binding + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +} -- cgit v1.2.3-54-g00ecf