50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Template file for 'gnuradio'
|
|
pkgname=gnuradio
|
|
version=3.7.13.4
|
|
revision=2
|
|
build_style=cmake
|
|
nocross="relies on volk, which is not complete for arm"
|
|
conf_files="/etc/gnuradio/conf.d/*"
|
|
configure_args="-DENABLE_INTERNAL_VOLK=OFF"
|
|
pycompile_module="gnuradio grc_gnuradio pmt"
|
|
hostmakedepends="pkg-config doxygen swig python-cheetah python-lxml
|
|
python-numpy python-Sphinx"
|
|
makedepends="SDL-devel boost-devel fftw-devel gsl-devel jack-devel libgsm-devel
|
|
libusb-devel pygtk-devel volk-devel wxPython-devel"
|
|
depends="pygtk python-cheetah python-lxml python-numpy"
|
|
short_desc="Framework for software defined radio"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnuradio.org"
|
|
distfiles="https://github.com/gnuradio/gnuradio/archive/v${version}.tar.gz"
|
|
checksum=903ca4a7ccccdbd0bf2cc3f4412971f5f56ab6834932056b0f6791112c4e4787
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/7596/steps/shell_3/logs/stdio"
|
|
fi
|
|
|
|
post_install() {
|
|
vinstall grc/scripts/freedesktop/gnuradio-grc.desktop 644 \
|
|
usr/share/applications
|
|
vinstall grc/scripts/freedesktop/gnuradio_logo_icon-square.svg 644 \
|
|
usr/share/pixmaps gnuradio-grc.svg
|
|
}
|
|
|
|
gnuradio-doc_package() {
|
|
short_desc+=" - documentation"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|
|
|
|
gnuradio-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
|
|
}
|
|
}
|