# $Id$ # Maintainer : Stéphane Gaudreault # Contributor: Sylvain HENRY # Contributor: Hervé YVIQUEL # ALARM: Kevin Mihelich # - remove numactl dependency pkgname=hwloc pkgver=1.11.4 pkgrel=1 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=('5ecfeea7a825da1e22dd3d418746b33fad44f1b0') 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 }