Date: Wednesday, August 15, 2018 @ 09:07:08 Author: kkeen Revision: 371683
archrelease: copy trunk to community-staging-x86_64 Added: gnuradio-iqbal/repos/community-staging-x86_64/ gnuradio-iqbal/repos/community-staging-x86_64/PKGBUILD (from rev 371682, gnuradio-iqbal/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: gnuradio-iqbal/repos/community-staging-x86_64/PKGBUILD (from rev 371682, gnuradio-iqbal/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-15 09:07:08 UTC (rev 371683) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Dominik Heidler <dheid...@gmail.com> +pkgname=gnuradio-iqbal +_pkgname=gr-iqbal +pkgver=0.37.2 +pkgrel=29 +pkgdesc="Gnuradio I/Q balancing" +arch=('x86_64') +url="http://cgit.osmocom.org/gr-iqbal/" +license=('GPL') +depends=('gnuradio' 'fftw') +replaces=('gr-iqbal') +makedepends=('git' 'cmake' 'boost' 'swig') +source=("git://git.osmocom.org/gr-iqbal/#tag=v$pkgver") +md5sums=('SKIP') + +build() { + cd "$srcdir/$_pkgname" + git submodule init + git submodule update + sed -i 's/LIBOSMODSP_LIBRARIES ""/LIBOSMODSP_LIBRARIES ${FFTW3F_LIBRARIES}/' CMakeLists.txt + mkdir build + cd build + cmake \ + -Wno-dev \ + -DCMAKE_BUILD_TYPE=Release \ + -DPYTHON_EXECUTABLE=$(which python2) \ + -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) \ + -DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) \ + -DCMAKE_LIBRARY_PATH=/usr/lib \ + -DCMAKE_INSTALL_PREFIX=/usr ../ + make +} + +package() { + cd "$srcdir/$_pkgname/build/" + make DESTDIR="${pkgdir}" install +}