void-packages/srcpkgs/SoapySDR/template

27 lines
753 B
Bash

# Template file for 'SoapySDR'
pkgname=SoapySDR
version=0.7.1
revision=1
wrksrc="${pkgname}-soapy-sdr-${version}"
build_style=cmake
pycompile_module="SoapySDR.py"
hostmakedepends="swig"
makedepends="python3-devel"
short_desc="Vendor and platform neutral SDR support library"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSL-1.0"
homepage="https://github.com/pothosware/SoapySDR"
distfiles="${homepage}/archive/soapy-sdr-${version}.tar.gz"
checksum=5445fbeb92f1322448bca3647f8cf12cc53d31ec6e0f11e0a543bacf43c8236d
SoapySDR-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/share/cmake
vmove usr/lib/pkgconfig
}
}