[arch-commits] Commit in libvolk/repos (4 files)

Antonio Rojas arojas at archlinux.org
Wed Jan 4 08:54:13 UTC 2017


    Date: Wednesday, January 4, 2017 @ 08:54:12
  Author: arojas
Revision: 204834

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libvolk/repos/community-staging-i686/
  libvolk/repos/community-staging-i686/PKGBUILD
    (from rev 204833, libvolk/trunk/PKGBUILD)
  libvolk/repos/community-staging-x86_64/
  libvolk/repos/community-staging-x86_64/PKGBUILD
    (from rev 204833, libvolk/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   46 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

Copied: libvolk/repos/community-staging-i686/PKGBUILD (from rev 204833, libvolk/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-01-04 08:54:12 UTC (rev 204834)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+pkgver=1.3
+pkgrel=4
+pkgdesc="The Vector-Optimized Library of Kernels from Gnuradio"
+arch=('i686' 'x86_64')
+url="http://libvolk.org/"
+license=('GPL3')
+depends=('gcc-libs' 'boost-libs' 'orc' 'python2')
+makedepends=('boost' 'cmake' 'python2-cheetah')
+source=("http://libvolk.org/releases/volk-$pkgver.tar.gz")
+md5sums=('d04edc0779431c8660a8a592792a3680')
+
+# doxygen for docs
+
+prepare() {
+  cd "$srcdir/volk-$pkgver"
+  sed -i -e "s|#![ ]*/usr/bin/env python$|&2|" $(find ./ -name '*.py')
+}
+
+build() {
+  export PYTHON=python2
+  cd "$srcdir/volk-$pkgver"
+
+  mkdir -p build
+  cd build
+  cmake \
+    -DPYTHON_EXECUTABLE=$(which python2) \
+    -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../
+  make
+}
+
+check() {
+  cd "$srcdir/volk-$pkgver/build"
+  export PYTHON=python2
+  if [[ "$CARCH" == "x86_64" ]]; then
+    make test
+  fi
+}
+
+package() {
+  cd "$srcdir/volk-$pkgver/build"
+  make DESTDIR="$pkgdir" install
+}

Copied: libvolk/repos/community-staging-x86_64/PKGBUILD (from rev 204833, libvolk/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-01-04 08:54:12 UTC (rev 204834)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+pkgver=1.3
+pkgrel=4
+pkgdesc="The Vector-Optimized Library of Kernels from Gnuradio"
+arch=('i686' 'x86_64')
+url="http://libvolk.org/"
+license=('GPL3')
+depends=('gcc-libs' 'boost-libs' 'orc' 'python2')
+makedepends=('boost' 'cmake' 'python2-cheetah')
+source=("http://libvolk.org/releases/volk-$pkgver.tar.gz")
+md5sums=('d04edc0779431c8660a8a592792a3680')
+
+# doxygen for docs
+
+prepare() {
+  cd "$srcdir/volk-$pkgver"
+  sed -i -e "s|#![ ]*/usr/bin/env python$|&2|" $(find ./ -name '*.py')
+}
+
+build() {
+  export PYTHON=python2
+  cd "$srcdir/volk-$pkgver"
+
+  mkdir -p build
+  cd build
+  cmake \
+    -DPYTHON_EXECUTABLE=$(which python2) \
+    -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../
+  make
+}
+
+check() {
+  cd "$srcdir/volk-$pkgver/build"
+  export PYTHON=python2
+  if [[ "$CARCH" == "x86_64" ]]; then
+    make test
+  fi
+}
+
+package() {
+  cd "$srcdir/volk-$pkgver/build"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list