summaryrefslogtreecommitdiff
path: root/testing/hwloc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hwloc/PKGBUILD')
-rw-r--r--testing/hwloc/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/hwloc/PKGBUILD b/testing/hwloc/PKGBUILD
new file mode 100644
index 000000000..79fd2f67d
--- /dev/null
+++ b/testing/hwloc/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 167124 2012-09-25 18:41:34Z stephane $
+# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
+# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
+
+pkgname=hwloc
+pkgver=1.5
+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.5/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('b2e60bd40cfc6ca79dde68b19a83e8a4719d6b14')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}