PKGBUILDs/extra/hwloc/PKGBUILD

40 lines
1,017 B
Bash
Raw Normal View History

2016-06-18 22:44:36 +00:00
# $Id$
# Maintainer : 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
2016-11-28 18:43:27 +00:00
pkgver=1.11.5
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'
arch=('i686' 'x86_64')
url='http://www.open-mpi.org/projects/hwloc/'
license=('BSD')
depends=('libtool')
optdepends=('cairo' 'libxml2' 'pciutils')
makedepends=('cairo' 'libxml2' 'pciutils')
options=('!docs')
source=(http://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2)
2016-11-28 18:43:27 +00:00
sha1sums=('bfca110cc6a731eaaf02d9155e8ab126b694f118')
2016-06-18 22:44:36 +00:00
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 -Dm644 COPYING "$pkgdir"/usr/share/licenses/hwloc/LICENSE
}