[arch-commits] Commit in libvolk/repos (4 files)
Kyle Keen
kkeen at archlinux.org
Mon Apr 25 02:28:27 UTC 2016
Date: Monday, April 25, 2016 @ 04:28:26
Author: kkeen
Revision: 171756
archrelease: copy trunk to community-i686, community-x86_64
Added:
libvolk/repos/community-i686/
libvolk/repos/community-i686/PKGBUILD
(from rev 171755, libvolk/trunk/PKGBUILD)
libvolk/repos/community-x86_64/
libvolk/repos/community-x86_64/PKGBUILD
(from rev 171755, libvolk/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: libvolk/repos/community-i686/PKGBUILD (from rev 171755, libvolk/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-04-25 02:28:26 UTC (rev 171756)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+pkgver=1.2.2
+pkgrel=1
+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=('540e2c55e525c04920e0e63d0de530b3')
+
+# 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-x86_64/PKGBUILD (from rev 171755, libvolk/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-04-25 02:28:26 UTC (rev 171756)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=libvolk
+pkgver=1.2.2
+pkgrel=1
+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=('540e2c55e525c04920e0e63d0de530b3')
+
+# 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