From 6be02af43974c015965eaf14d7cb334fd7769086 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 4 Oct 2020 18:49:42 +0000 Subject: hwloc: update to 2.2.0 --- abs/extra/hwloc/PKGBUILD | 49 ++++++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/abs/extra/hwloc/PKGBUILD b/abs/extra/hwloc/PKGBUILD index 1155d34..a491e01 100644 --- a/abs/extra/hwloc/PKGBUILD +++ b/abs/extra/hwloc/PKGBUILD @@ -1,34 +1,47 @@ -# $Id$ -# Maintainer : Stéphane Gaudreault +# Maintainer: Levente Polyak +# Contributor: Stéphane Gaudreault # Contributor: Sylvain HENRY # Contributor: Hervé YVIQUEL pkgname=hwloc -pkgver=1.9 +pkgver=2.2.0 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/" +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=('sh' 'pciutils' 'cairo' 'libxml2') +depends=('libtool' 'systemd-libs' 'libpciaccess') +makedepends=('cairo' 'libxml2' 'pciutils' 'systemd') +optdepends=('cairo' 'libxml2' 'pciutils') options=('!docs') -source=(http://www.open-mpi.org/software/hwloc/v${pkgver}/downloads/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('99646446502e0f9952170bf1082be63361d99b6d') +source=(https://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) +sha512sums=('23efd1d5e2df870ca7a0abb9b3c28c5c5d60dd0cc650ee95d20d5934f48947cbe1d3cf4e90e02b2dc61062ddf7afd67f2c1cf6e1862a48397078d66dd798e850') +b2sums=('00e10f9c7467e6342e14a45d583ed307103428085a9b88398464f0439fec48647949aa80e099042b915b2c371fe105d61e8490d0555383d94740f3e6dab5aeee') + +prepare() { + cd hwloc-${pkgver} + autoreconf -fiv +} build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr - make + cd hwloc-${pkgver} + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-plugins \ + --sysconfdir=/etc + make } check() { - cd ${pkgname}-${pkgver} - make check + cd hwloc-${pkgver} + make check } package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + cd hwloc-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } + +# vim: ts=2 sw=2 et: -- cgit v0.12