From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/hwloc/hwloc.xibuild | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 repo/hwloc/hwloc.xibuild (limited to 'repo/hwloc/hwloc.xibuild') diff --git a/repo/hwloc/hwloc.xibuild b/repo/hwloc/hwloc.xibuild new file mode 100644 index 0000000..4a5759f --- /dev/null +++ b/repo/hwloc/hwloc.xibuild @@ -0,0 +1,22 @@ +#!/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 +} -- cgit v1.2.1