PKGBUILDs/extra/hwloc/PKGBUILD

44 lines
1.1 KiB
Bash
Raw Normal View History

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-01-26 01:30:55 +00:00
pkgver=1.11.9
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)
sha256sums=('394333184248d63cb2708a976e57f05337d03bb50c33aa3097ff5c5a74a85164')
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: