blob: 4a5759faf182029fe7428695e3319ffc8b9f3dfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}
|