void-packages/srcpkgs/SoapySDR/template
2021-10-09 08:00:43 -04:00

27 lines
880 B
Bash

# Template file for 'SoapySDR'
pkgname=SoapySDR
version=0.7.2
revision=3
wrksrc="${pkgname}-soapy-sdr-${version}"
build_style=cmake
configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python3"
hostmakedepends="doxygen swig python3"
makedepends="python3-devel"
short_desc="Vendor and platform neutral SDR support library"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="BSL-1.0"
homepage="https://github.com/pothosware/SoapySDR"
changelog="https://raw.githubusercontent.com/pothosware/SoapySDR/master/Changelog.txt"
distfiles="${homepage}/archive/soapy-sdr-${version}.tar.gz"
checksum=6eb4143fed115911884bdbbe6fe32dbd99b4ada210c9e126ac3c49c24414347a
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
}
}