summaryrefslogtreecommitdiff
path: root/testing/hwloc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
committerroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
commitd006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (patch)
tree082c5c2c39abee82c3957872552fa15c8325744d /testing/hwloc/PKGBUILD
parentff64a82ccedcb1690d2f0140d63432aa49676591 (diff)
Fri Jul 8 23:09:34 UTC 2011
Diffstat (limited to 'testing/hwloc/PKGBUILD')
-rw-r--r--testing/hwloc/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/hwloc/PKGBUILD b/testing/hwloc/PKGBUILD
new file mode 100644
index 000000000..e0d40b332
--- /dev/null
+++ b/testing/hwloc/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 130527 2011-07-07 11:15:35Z stephane $
+# 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
+}