2018-01-26 01:30:55 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
2016-06-18 22:44:36 +00:00
|
|
|
# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
|
|
|
|
# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - remove numactl dependency
|
|
|
|
|
|
|
|
pkgname=hwloc
|
2018-04-05 01:04:42 +00:00
|
|
|
pkgver=1.11.10
|
2016-09-01 00:45:51 +00:00
|
|
|
pkgrel=1
|
2016-06-18 22:44:36 +00:00
|
|
|
pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures'
|
2018-01-26 01:30:55 +00:00
|
|
|
url='https://www.open-mpi.org/projects/hwloc/'
|
|
|
|
arch=('x86_64')
|
2016-06-18 22:44:36 +00:00
|
|
|
license=('BSD')
|
2018-01-26 01:30:55 +00:00
|
|
|
depends=('libtool' 'libsystemd')
|
|
|
|
makedepends=('cairo' 'libxml2' 'pciutils' 'systemd')
|
2016-06-18 22:44:36 +00:00
|
|
|
optdepends=('cairo' 'libxml2' 'pciutils')
|
|
|
|
options=('!docs')
|
2018-01-26 01:30:55 +00:00
|
|
|
source=(https://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2)
|
2018-04-05 01:04:42 +00:00
|
|
|
sha256sums=('2be808383d8337846fe77ce49c7ad3336fb6857505494d85c0ac03f22c5bd1e7')
|
2016-06-18 22:44:36 +00:00
|
|
|
|
|
|
|
build() {
|
2018-01-26 01:30:55 +00:00
|
|
|
cd hwloc-${pkgver}
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
--enable-plugins
|
2016-06-18 22:44:36 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2018-01-26 01:30:55 +00:00
|
|
|
cd hwloc-${pkgver}
|
2016-06-18 22:44:36 +00:00
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-01-26 01:30:55 +00:00
|
|
|
cd hwloc-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
2016-06-18 22:44:36 +00:00
|
|
|
}
|
2018-01-26 01:30:55 +00:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|