mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added extra/hwloc
This commit is contained in:
parent
b78767701c
commit
57ef9a4508
1 changed files with 39 additions and 0 deletions
39
extra/hwloc/PKGBUILD
Normal file
39
extra/hwloc/PKGBUILD
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# $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
|
||||||
|
pkgver=1.11.3
|
||||||
|
pkgrel=2
|
||||||
|
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)
|
||||||
|
sha1sums=('66e71c50dbbd483c0c1cdac4dbced6ce19fcbcb3')
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue