43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
|
# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
|
|
# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
|
|
|
|
pkgname=hwloc
|
|
pkgver=2.9.1
|
|
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=('glibc' 'libtool' 'systemd-libs' 'libpciaccess')
|
|
makedepends=('cairo' 'libxml2' 'pciutils' 'systemd' 'libx11')
|
|
optdepends=('cairo' 'libxml2' 'pciutils' 'libx11')
|
|
options=('!docs')
|
|
source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
|
|
sha512sums=('9c05b7b7c4e3cb5474efb6eb1a4bf3e5ad0f8d0480d043a11e695e4a1f5f6748abb96c7055c0f3b2bc36950dda247fbdd7dc02ec7c9debbfe2631e6ebb89d957')
|
|
b2sums=('6f0a0caa593683d76b52751b32d47a28509fc99e9ee4b8645257de054823328afe35e46ac5e264a8a6a9279e6c06129d6df096b7c2c491d90fc7d05ee0c011f5')
|
|
|
|
build() {
|
|
cd hwloc-${pkgver}
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--enable-plugins \
|
|
--sysconfdir=/etc
|
|
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:
|