#!/bin/sh NAME="hwloc" DESC="Portable abstraction of hierarchical hardware architectures" MAKEDEPS=" cairo eudev libxml2 ncurses numactl" PKG_VER=2.8.0 SOURCE="https://www.open-mpi.org/software/hwloc/v${PKG_VER%.*}/downloads/hwloc-$PKG_VER.tar.bz2" build() { ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --mandir=/usr/share/man \ --localstatedir=/var make } package() { make -C "$BUILD_ROOT" DESTDIR="$PKG_DEST" install }