From 483f8b3ac46ac2d40e8cc2f9c25365741bebc791 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Sep 2012 00:54:07 -0700 Subject: Wed Sep 26 00:54:06 PDT 2012 --- testing/hwloc/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/hwloc/PKGBUILD (limited to 'testing/hwloc/PKGBUILD') 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 +# Contributor: Sylvain HENRY +# Contributor: Hervé YVIQUEL + +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 +} -- cgit v1.2.3-54-g00ecf