#Packager: George Vlahavas pkgname=hwloc pkgver=1.11.3 _majorver=`echo $pkgver | sed "s/\(.*\)\.\(.*\)/\1/"` pkgrel=1gv source=("https://www.open-mpi.org/software/hwloc/v1.11/downloads/hwloc-1.11.3.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://www.open-mpi.org/projects/hwloc/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "hwloc (Portable Hardware Locality)" "The Portable Hardware Locality (hwloc) software package provides a" "portable abstraction (across OS, versions, architectures, ...) of the" "hierarchical topology of modern architectures, including NUMA memory" "nodes, sockets, shared caches, cores and simultaneous multithreading." "It also gathers various system attributes such as cache and memory" "information as well as the locality of I/O devices such as network" "interfaces, InfiniBand HCAs or GPUs." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --enable-plugins \ --disable-debug \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }