void-packages/srcpkgs/gnuradio-osmosdr/template

26 lines
921 B
Bash

# Template file for 'gnuradio-osmosdr'
pkgname=gnuradio-osmosdr
version=0.2.4
revision=1
build_style=cmake
configure_args="-Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11"
hostmakedepends="pkg-config gnuradio python3"
makedepends="SoapySDR-devel gnuradio-devel libairspy-devel
libhackrf-devel librtlsdr-devel python3-pybind11"
short_desc="GNU Radio source block for rtlsdr, hackrf and airspy"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR"
distfiles="https://github.com/osmocom/gr-osmosdr/archive/v${version}.tar.gz"
checksum=28b6f2768aee7b397b227e9e70822e28de3b4c5362a5d14646a0948a48094a63
gnuradio-osmosdr-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}