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.10.0
|
|
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=('8fcf448ef16874862e5cf5a814ecc4885d53817369640bb8a0079b0c7d9294b3933a6a8cf2472e8e104a5c346e09e1fffab401a1976d7b2da0457f0c5271a18a')
|
|
b2sums=('ecb0e6158992a94e1c8b1555584803c576ab3dc09eb33c30033b986a4ec9586d5376d837629419d7b0787217d8692a22834133ccb0be2c5c38d46ef3b47ea129')
|
|
|
|
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:
|