From 57ef9a45086333ce51ac248b8e826a59555c072b Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 18 Jun 2016 22:44:36 +0000 Subject: [PATCH] added extra/hwloc --- extra/hwloc/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 extra/hwloc/PKGBUILD diff --git a/extra/hwloc/PKGBUILD b/extra/hwloc/PKGBUILD new file mode 100644 index 000000000..7f9b37c63 --- /dev/null +++ b/extra/hwloc/PKGBUILD @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer : Stéphane Gaudreault +# Contributor: Sylvain HENRY +# Contributor: Hervé YVIQUEL + +# ALARM: Kevin Mihelich +# - remove numactl dependency + +pkgname=hwloc +pkgver=1.11.3 +pkgrel=2 +pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures' +arch=('i686' 'x86_64') +url='http://www.open-mpi.org/projects/hwloc/' +license=('BSD') +depends=('libtool') +optdepends=('cairo' 'libxml2' 'pciutils') +makedepends=('cairo' 'libxml2' 'pciutils') +options=('!docs') +source=(http://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('66e71c50dbbd483c0c1cdac4dbced6ce19fcbcb3') + +build() { + cd hwloc-$pkgver + ./configure --prefix=/usr --sbindir=/usr/bin --enable-plugins + make +} + +check() { + cd hwloc-$pkgver + make check +} + +package() { + cd hwloc-$pkgver + make DESTDIR="$pkgdir" install + + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/hwloc/LICENSE +}