void-packages/srcpkgs/gnuradio-osmosdr/template

28 lines
1019 B
Bash

# Template file for 'gnuradio-osmosdr'
pkgname=gnuradio-osmosdr
version=0.2.3git20210128
revision=3
_githash=a100eb024c0210b95e4738b6efd836d48225bd03
wrksrc="gr-osmosdr-${_githash}"
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="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR"
distfiles="https://github.com/osmocom/gr-osmosdr/archive/${_githash}.tar.gz"
checksum=a3cc85dd708d06d234ff4ab7f274a4a49db6427eed1e7e58711a1b61a4fa4de1
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
}
}