mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-10 03:34:41 +08:00
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
|
#
|
||
|
# 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
|
||
|
pkgver=0.15.6
|
||
|
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)
|
||
|
sha1sums=('e6f33b139933ec245e8850558efe52e88081fc6d')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./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"
|
||
|
}
|