# Maintainer: Levente Polyak # Contributor: Stéphane Gaudreault # Contributor: Sylvain HENRY # Contributor: Hervé YVIQUEL # ALARM: Kevin Mihelich # - remove numactl dependency pkgname=hwloc pkgver=1.11.11 pkgrel=1 pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures' url='https://www.open-mpi.org/projects/hwloc/' arch=('x86_64') license=('BSD') depends=('libtool' 'libsystemd') makedepends=('cairo' 'libxml2' 'pciutils' 'systemd') optdepends=('cairo' 'libxml2' 'pciutils') options=('!docs') source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) sha256sums=('16a061cabd9319eb8cf9c6705c79142520b5b38d28a3f2a1d832bcb2fb7ea5fd') 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 -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim: ts=2 sw=2 et: