diff options
author | Tim Biermann <tbier@posteo.de> | 2022-12-22 12:33:32 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-12-22 12:33:32 +0000 |
commit | e5dd53f678cc6e22d3cf17e421aeae08ffe01a10 (patch) | |
tree | 4f3c96063342f633e472bca0cfa9b3912c8c8001 /robin-hood-hashing-32/Pkgfile | |
parent | f6d40879616e999864a7215a6e5ffabf1120dee9 (diff) | |
download | compat-32-e5dd53f678cc6e22d3cf17e421aeae08ffe01a10.tar.gz compat-32-e5dd53f678cc6e22d3cf17e421aeae08ffe01a10.tar.xz |
robin-hood-hashing-32: initial commit, version 3.11.5
Diffstat (limited to 'robin-hood-hashing-32/Pkgfile')
-rw-r--r-- | robin-hood-hashing-32/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/robin-hood-hashing-32/Pkgfile b/robin-hood-hashing-32/Pkgfile new file mode 100644 index 00000000..55626d3a --- /dev/null +++ b/robin-hood-hashing-32/Pkgfile @@ -0,0 +1,21 @@ +# Description: Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20 +# URL: https://github.com/martinus/robin-hood-hashing +# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu +# Depends on: robin-hood-hashing + +name=robin-hood-hashing-32 +version=3.11.5 +release=1 +source=(https://github.com/martinus/robin-hood-hashing/archive/$version/robin-hood-hashing-$version.tar.gz) + +build() { + cmake -S robin-hood-hashing-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=lib32 \ + -D RH_STANDALONE_PROJECT=OFF \ + + cmake --build build + DESTDIR=$PKG cmake --install build + + rm -r $PKG/usr/include +} |