2011-01-25 09:35:33 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# Contributor:Renan Biegelmeyer (RenanBS) <renan.biegel[at]gmail[.dot]com
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=libtorrent-rasterbar
|
2011-10-09 09:21:20 +08:00
|
|
|
pkgver=0.15.8
|
2011-01-25 09:35:33 +08:00
|
|
|
pkgrel=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=('custom')
|
2011-08-05 00:07:17 +08:00
|
|
|
depends=('boost-libs' 'python2')
|
2011-01-25 09:35:33 +08:00
|
|
|
makedepends=('boost')
|
|
|
|
source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
|
2011-10-09 09:21:20 +08:00
|
|
|
sha1sums=('9e21ebfa6fba19b237754a10ae9b8007781c48f0')
|
2011-01-25 09:35:33 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2011-08-05 00:07:17 +08:00
|
|
|
./configure --prefix=/usr --enable-python-binding
|
2011-01-25 09:35:33 +08:00
|
|
|
make
|
2011-08-05 00:07:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2011-01-25 09:35:33 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
|
2011-08-05 00:07:17 +08:00
|
|
|
}
|