27 lines
928 B
Bash
27 lines
928 B
Bash
# Template file for 'gnuradio-osmosdr'
|
|
pkgname=gnuradio-osmosdr
|
|
version=0.2.0
|
|
revision=1
|
|
wrksrc="gr-osmosdr-${version}"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config swig"
|
|
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
|
|
}
|
|
}
|