void-packages/srcpkgs/libtorrent-rasterbar/template

27 lines
1.1 KiB
Bash

# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=1.0.6
revision=1
build_style=gnu-configure
configure_args="--enable-python-binding --with-libgeoip"
hostmakedepends="pkg-config intltool python-devel"
makedepends="libressl-devel boost-devel boost-python python-devel geoip-devel"
short_desc="C++ bittorrent library by Rasterbar Software"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
homepage="http://www.rasterbar.com/products/libtorrent/"
license="BSD"
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
checksum=c97de804b77f44591801631aca3869567671df2d3e2afe7f5453d8db2478fd61
nocross="http://build.voidlinux.eu/builders/armv6l_builder/builds/16858/steps/shell_3/logs/stdio"
libtorrent-rasterbar-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libressl-devel>=2.1.4 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"
}
}