You are not logged in.

#1 2014-02-18 17:02:37

Juhan
Member
Registered: 2014-02-12
Posts: 1

Contributing recent version of libtorrent-rasterbar

Hi.

I noticed that libtorrent-rasterbar in [extra] repo is way old. Sadly the version causes problems for torrent clients, which use it as a build dependency (e.g. qbittorrent).

So, I updated the PKGBUILD to the recent version of libtorrent-rasterbar:

# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>

pkgname=libtorrent-rasterbar
pkgver=0.16.15
pkgrel=1
epoch=1
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=('BSD')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!emptydirs')
source=(http://sourceforge.net/projects/libtorrent/files/libtorrent/$pkgname-$pkgver.tar.gz/download)
sha1sums=('8657a493fb2ee4e6bf55e484deb922d23b65818d')

build() {
  cd $pkgname-$pkgver
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
      --enable-python-binding \
      --with-libgeoip=system
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Juhan

Offline

#2 2014-02-18 21:41:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Contributing recent version of libtorrent-rasterbar

Offline

Board footer

Powered by FluxBB