void-packages/srcpkgs/gnuradio-osmosdr/template

27 lines
945 B
Bash

# Template file for 'gnuradio-osmosdr'
pkgname=gnuradio-osmosdr
version=0.2.0
revision=2
wrksrc="gr-osmosdr-${version}"
build_style=cmake
hostmakedepends="pkg-config swig python3 gnuradio"
makedepends="boost-devel gnuradio-devel libairspy-devel libhackrf-devel
librtlsdr-devel python3-devel uhd-devel log4cpp-devel mpir-devel
SoapySDR-devel volk-devel fftw-devel gmpxx-devel"
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/v${version}.tar.gz"
checksum=9812429d97bc54f0a8917b880ca9e7e2421c66aeaac8ce5608161a8ae7007122
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
}
}