31 lines
807 B
Bash
31 lines
807 B
Bash
# Template file for 'SoapySDR'
|
|
pkgname=SoapySDR
|
|
version=0.6.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=2ecf8e43518dfb24bd172923adf6ce25a6d3e39de3a8aadf26c890f60dd1e9f7
|
|
|
|
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
|
|
}
|
|
}
|