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-10-27 12:58:36 +00:00
pkgver=1.11.11
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-10-27 12:58:36 +00:00
source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('16a061cabd9319eb8cf9c6705c79142520b5b38d28a3f2a1d832bcb2fb7ea5fd')
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: