summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 18:49:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 18:49:42 (GMT)
commit6be02af43974c015965eaf14d7cb334fd7769086 (patch)
treec10d988c07b9f331d0c34c032497e9862fb3291e
parent0380a18de100770e526fc972d4291f04bedc68c6 (diff)
downloadlinhes_pkgbuild-6be02af43974c015965eaf14d7cb334fd7769086.zip
linhes_pkgbuild-6be02af43974c015965eaf14d7cb334fd7769086.tar.gz
linhes_pkgbuild-6be02af43974c015965eaf14d7cb334fd7769086.tar.bz2
hwloc: update to 2.2.0
-rw-r--r--abs/extra/hwloc/PKGBUILD49
1 files 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 <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>
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: