void-packages/srcpkgs/libtorrent-rasterbar/template

26 lines
910 B
Bash

# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=0.16.19
revision=5
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="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>=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"
}
}