[arch-commits] Commit in gnuradio-iqbal/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jan 15 07:53:52 UTC 2019


    Date: Tuesday, January 15, 2019 @ 07:53:52
  Author: foutrelis
Revision: 423174

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 423173, gnuradio-iqbal/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: gnuradio-iqbal/repos/community-staging-x86_64/PKGBUILD (from rev 423173, gnuradio-iqbal/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-15 07:53:52 UTC (rev 423174)
@@ -0,0 +1,38 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Dominik Heidler <dheidler at gmail.com>
+pkgname=gnuradio-iqbal
+_pkgname=gr-iqbal
+pkgver=0.37.2
+pkgrel=31
+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
+}



More information about the arch-commits mailing list