summaryrefslogtreecommitdiff
path: root/extra/hwloc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-30 01:04:25 -0700
committerroot <root@rshg054.dnsready.net>2013-10-30 01:04:25 -0700
commit7c151ac5589d3dbef5972f69a62b847ecf565bfa (patch)
tree9450bd13169930e602731e9c431b79fdaaad2c02 /extra/hwloc
parent38b1ce25596ae456fefb3214a73c3d1005da568f (diff)
Wed Oct 30 01:01:59 PDT 2013
Diffstat (limited to 'extra/hwloc')
-rw-r--r--extra/hwloc/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/hwloc/PKGBUILD b/extra/hwloc/PKGBUILD
index 3db995891..b153b012f 100644
--- a/extra/hwloc/PKGBUILD
+++ b/extra/hwloc/PKGBUILD
@@ -1,29 +1,33 @@
-# $Id: PKGBUILD 188118 2013-06-10 06:43:40Z bpiotrowski $
+# $Id: PKGBUILD 197744 2013-10-29 02:18:00Z eric $
# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
pkgname=hwloc
-pkgver=1.7.1
+pkgver=1.7.2
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/"
license=('BSD')
depends=('sh' 'pciutils' 'cairo' 'libxml2')
-makedepends=('pkg-config')
-options=('!libtool' '!docs')
-source=(http://www.open-mpi.org/software/hwloc/v1.7/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('7bb4e6c68d1c24f881d3f7ddf0682b50622351c8')
+options=('!docs')
+source=(http://www.open-mpi.org/software/hwloc/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('bcd7d71e038af6e1f06a233fdf1c00739033e128')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE