void-packages/srcpkgs/gnuradio-osmosdr/template

26 lines
864 B
Bash

# Template file for 'gnuradio-osmosdr'
pkgname=gnuradio-osmosdr
version=0.1.4
revision=4
wrksrc="gr-osmosdr-${version}"
build_style=cmake
pycompile_module="osmosdr"
hostmakedepends="pkg-config python-cheetah swig"
makedepends="boost-devel gnuradio-devel libairspy-devel libhackrf-devel librtlsdr-devel
python-devel"
short_desc="GNU Radio source block for rtlsdr, hackrf and airspy"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3.0-or-later"
homepage="https://sdr.osmocom.org/trac/"
distfiles="https://github.com/osmocom/gr-osmosdr/archive/v${version}.tar.gz"
checksum=bcf9a9b1760e667c41a354e8cd41ef911d0929d5e4a18e0594ccb3320d735066
gnuradio-osmosdr-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}