void-packages/srcpkgs/libtorrent-rasterbar/template

25 lines
910 B
Text

# Template file for 'libtorrent-rasterbar'
pkgname=libtorrent-rasterbar
version=0.16.19
revision=2
build_style=gnu-configure
configure_args="--enable-python-binding --with-libgeoip"
hostmakedepends="pkg-config intltool python-devel"
makedepends="libressl-devel>=2.1.2 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 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"
}
}