extra/hwloc to 1.11.9-1

This commit is contained in:
Kevin Mihelich 2018-01-26 01:30:55 +00:00
parent 0da4d1bde2
commit ce63489645

View file

@ -1,5 +1,5 @@
# $Id$
# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
# 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>
@ -7,33 +7,37 @@
# - remove numactl dependency
pkgname=hwloc
pkgver=1.11.8
pkgver=1.11.9
pkgrel=1
pkgdesc='Portable Hardware Locality is a portable abstraction of hierarchical architectures'
arch=('i686' 'x86_64')
url='http://www.open-mpi.org/projects/hwloc/'
url='https://www.open-mpi.org/projects/hwloc/'
arch=('x86_64')
license=('BSD')
depends=('libtool')
depends=('libtool' 'libsystemd')
makedepends=('cairo' 'libxml2' 'pciutils' 'systemd')
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=('5d6164400a49e2c77a7e1e98dd0247a1f7e6d4cf')
source=(https://www.open-mpi.org/software/hwloc/v1.11/downloads/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('394333184248d63cb2708a976e57f05337d03bb50c33aa3097ff5c5a74a85164')
build() {
cd hwloc-$pkgver
./configure --prefix=/usr --sbindir=/usr/bin --enable-plugins
cd hwloc-${pkgver}
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--enable-plugins
make
}
check() {
cd hwloc-$pkgver
cd hwloc-${pkgver}
make check
}
package() {
cd hwloc-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/hwloc/LICENSE
cd hwloc-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et: