2014-12-07 20:35:33 +01:00
|
|
|
# Template file for 'libtorrent-rasterbar'
|
|
|
|
pkgname=libtorrent-rasterbar
|
|
|
|
version=0.16.19
|
2015-01-03 10:56:10 +01:00
|
|
|
revision=2
|
2014-12-07 20:35:33 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-python-binding --with-libgeoip"
|
|
|
|
hostmakedepends="pkg-config intltool python-devel"
|
2015-01-03 10:56:10 +01:00
|
|
|
makedepends="libressl-devel>=2.1.2 boost-devel boost-python python-devel geoip-devel"
|
2014-12-07 20:35:33 +01:00
|
|
|
short_desc="C++ bittorrent library by Rasterbar Software"
|
|
|
|
maintainer="Alexey Rochev <equeim@gmail.com>"
|
|
|
|
homepage="http://www.rasterbar.com/products/libtorrent/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="$SOURCEFORGE_SITE/libtorrent/$pkgname-$version.tar.gz"
|
|
|
|
checksum=9ebd3fa8accfa27d0c81cdbbe15d7b411ea1deec34ac6325dec7197f05d82982
|
|
|
|
|
|
|
|
libtorrent-rasterbar-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} libressl-devel boost-devel geoip-devel"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|