mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# 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>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - remove numactl dependency
|
|
|
|
pkgname=hwloc
|
|
pkgver=1.11.12
|
|
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' 'systemd-libs')
|
|
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=('ddfb7b9b4571551165b0fd824a340e58814c8c2b4af64c818579d4bc695a417d')
|
|
|
|
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:
|