void-packages/srcpkgs/libtorrent-rasterbar/template

27 lines
1.1 KiB
Bash

# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=1.0.7
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=3e16e024b175fefada17471c659fdbcfab235f9619d4f0913faa13cb02ca8d83
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"
}
}