summaryrefslogtreecommitdiff
path: root/testing/hwloc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-16 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-05-16 00:02:54 +0000
commita7a5f4160bb345e35c58a565494d4416f601fc17 (patch)
treeccfe5688f0a902f1ee3ac215f2a27bdec7d42d01 /testing/hwloc
parent52a4948b9138662b1e7b23b04ef0d72101519f2d (diff)
Wed May 16 00:02:54 UTC 2012
Diffstat (limited to 'testing/hwloc')
-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..5411b3554
--- /dev/null
+++ b/testing/hwloc/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 159010 2012-05-15 01:03:17Z stephane $
+# Maintainer : Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Sylvain HENRY <hsyl20@yahoo.fr>
+# Contributor: Hervé YVIQUEL <elldekaa@gmail.com>
+
+pkgname=hwloc
+pkgver=1.4.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.4/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('2c2ca4101b4ea6782393b555a320c566da50cb68')
+
+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
+}