void-packages/srcpkgs/SoapySDR/template

28 lines
877 B
Bash

# Template file for 'SoapySDR'
pkgname=SoapySDR
version=0.8.1
revision=3
build_style=cmake
configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python3"
hostmakedepends="doxygen swig python3 python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Vendor and platform neutral SDR support library"
maintainer="classabbyamp <void@placeviolette.net>"
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=a508083875ed75d1090c24f88abef9895ad65f0f1b54e96d74094478f0c400e6
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
}
}