summaryrefslogtreecommitdiff
path: root/testing/hwloc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
committerroot <root@rshg054.dnsready.net>2012-09-26 00:54:07 -0700
commit483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (patch)
tree296f95ddbf8e5cd3ddfeea60e88a64b3593f9e1e /testing/hwloc/PKGBUILD
parentfca7e8a735bd3ae5114a3cdf12efbce3b1d10224 (diff)
Wed Sep 26 00:54:06 PDT 2012
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
+}