summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 01:46:08 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 01:46:08 (GMT)
commit46f188df004f591f2e1f3e0137de974c33f085df (patch)
tree2d6c4d8d7ae564d158161c809932c800e12f51c7 /abs/extra
parentecbe167fad5e81512157a5280dd00b0826f6103d (diff)
downloadlinhes_pkgbuild-46f188df004f591f2e1f3e0137de974c33f085df.zip
linhes_pkgbuild-46f188df004f591f2e1f3e0137de974c33f085df.tar.gz
linhes_pkgbuild-46f188df004f591f2e1f3e0137de974c33f085df.tar.bz2
hwloc: Initial Inclusion. Dep of openmpi
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/hwloc/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/extra/hwloc/PKGBUILD b/abs/extra/hwloc/PKGBUILD
new file mode 100644
index 0000000..d8023b9
--- /dev/null
+++ b/abs/extra/hwloc/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
+# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
+
+pkgname=hwloc
+pkgver=1.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')
+makedepends=('pkg-config')
+optdepends=('cairo: Graphical output' 'libxml2: XML export')
+options=('!libtool' '!docs')
+source=(http://www.open-mpi.org/software/hwloc/v1.2/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('43886dfdddda5bfbaa841976275e7bf643453d7b')
+
+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
+}