Date: Monday, March 14, 2011 @ 20:30:43 Author: stephane Revision: 114641
Initial commit, New dependency for openmpi Added: hwloc/ hwloc/repos/ hwloc/trunk/ hwloc/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: hwloc/trunk/PKGBUILD =================================================================== --- hwloc/trunk/PKGBUILD (rev 0) +++ hwloc/trunk/PKGBUILD 2011-03-15 00:30:43 UTC (rev 114641) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer : Stéphane Gaudreault <[email protected]> +# Contributor: Sylvain HENRY <[email protected]> +# Contributor: Hervé YVIQUEL <[email protected]> + +pkgname=hwloc +pkgver=1.1.1 +pkgrel=2 +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.1/downloads/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('ca99f6e7c9cb41ca0ce89171c817c1de1d9bbde1') + +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 + + # Rename hwloc-gather-topology.sh script to be consistent with the upcoming version 1.2 + mv "${pkgdir}"/usr/bin/hwloc-gather-topology{.sh,} + mv "${pkgdir}"/usr/share/man/man1/hwloc-gather-topology{.sh.1,.1} + sed -i -e 's/hwloc-gather-topology.sh/hwloc-gather-topology/g' "${pkgdir}"/usr/share/man/man1/hwloc-gather-topology.1 +} Property changes on: hwloc/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords + Id
