void-packages/srcpkgs/SoapySDR/template
2018-12-11 13:05:32 -02:00

30 lines
807 B
Bash

# Template file for 'SoapySDR'
pkgname=SoapySDR
version=0.7.0
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=cb2344be77f4d04f6cbafa183c7e39a2e6eb0da39c98fa77e9d60686c4e81e52
post_install() {
vlicense LICENSE_1_0.txt LICENSE
}
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
}
}