1 # Maintainer: Moritz Fischer <moritz.fischer@student.kit.edu>
5 pkgdesc="free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios using readily-available, low-cost external RF hardware and commodity processors"
8 depends=('fftw' 'python2-numpy' 'boost-libs' 'cppunit' 'swig' 'gsl' 'blas' 'guile')
10 optdepends=('wxpython: gr-wxgui' 'python-cheetah: grc' 'python-lxml: grc' 'qwtplot3d: gr-qtgui' 'sdcc: firmware and all the parts needing USRP' 'doxygen: docs autogenerated documentation' 'pyxml: grc', 'pygtk: grc' 'python-lxml: grc')
12 url="http://gnuradio.org"
13 source=(http://gnuradio.org/redmine/attachments/download/279/gnuradio-${pkgver}.tar.gz)
14 md5sums=('bb4eafa483375e3422802bc070c20827')
16 _options='--disable-gr-atsc --disable-gr-msdd6000 --disable-gr-usrp2 --enable-gr-uhd --disable-gr-usrp'
19 cd ${srcdir}/${pkgname}-${pkgver}
20 msg "Replacing filenames to use python2"
21 sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')
22 export PYTHON=`which python2`
23 msg "Starting make..."
24 ./configure --prefix=/usr --with-boost-libdir=/usr/lib $_options --with-lv_arch="generic mmx sse sse2 sse3 sse3 sse4_1 sse4_2"
26 make check || return 1
31 cd ${srcdir}/${pkgname}-${pkgver}
32 make DESTDIR=${pkgdir} install || return 1