ddfbc8f69e
[skip ci]
27 lines
906 B
Bash
27 lines
906 B
Bash
# Template file for 'gnuradio-osmosdr'
|
|
pkgname=gnuradio-osmosdr
|
|
version=0.1.5
|
|
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"
|
|
short_desc="GNU Radio source block for rtlsdr, hackrf and airspy"
|
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
|
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=a5820e80465d895a9b4b73e0ff01924d6b612a9a390bbd3488177379a9539d00
|
|
|
|
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
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|