diff options
author | Alexandr Savca <alexandr.savca89@gmail.com> | 2020-11-24 16:04:10 +0200 |
---|---|---|
committer | Alexandr Savca <alexandr.savca89@gmail.com> | 2020-11-24 18:22:16 +0200 |
commit | 1f1db9c4bb51edebf7849df2d2f97e4452f64379 (patch) | |
tree | 07bfd203f76078f30e4b4f89345b0815dae9b7f7 /hwloc/Pkgfile | |
parent | 0def0ae86debe9f7025d615fe350ffbee492ee8c (diff) | |
download | contrib-1f1db9c4bb51edebf7849df2d2f97e4452f64379.tar.gz contrib-1f1db9c4bb51edebf7849df2d2f97e4452f64379.tar.xz |
hwloc: initial commit, v2.3.0
Diffstat (limited to 'hwloc/Pkgfile')
-rw-r--r-- | hwloc/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/hwloc/Pkgfile b/hwloc/Pkgfile new file mode 100644 index 000000000..816332eb0 --- /dev/null +++ b/hwloc/Pkgfile @@ -0,0 +1,24 @@ +# Description: Portable Hardware Locality +# URL: http://www.multiprecision.org/ +# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com +# Depends on: cairo libxml2 xorg-libpciaccess xorg-libsm + +name=hwloc +version=2.3.0 +release=1 +source=(https://download.open-mpi.org/release/$name/v${version%.*}/$name-$version.tar.gz) + +build() { + cd $name-$version + + ./configure --prefix=/usr --sysconfdir=/etc --enable-netloc + + make V=1 + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share/doc + rm -rf $PKG/usr/share/hwloc/hwloc-ps.www + + # remove unused systemd service file + rm -f $PKG/usr/share/hwloc/hwloc-dump-hwdata.service +} |