summaryrefslogtreecommitdiff
path: root/robin-hood-hashing-32/Pkgfile
blob: 55626d3a60249f961e02c6e2bca9f1a2227bf71c (plain)
    1 # Description: Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
    2 # URL: https://github.com/martinus/robin-hood-hashing
    3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Depends on: robin-hood-hashing
    5 
    6 name=robin-hood-hashing-32
    7 version=3.11.5
    8 release=1
    9 source=(https://github.com/martinus/robin-hood-hashing/archive/$version/robin-hood-hashing-$version.tar.gz)
   10 
   11 build() {
   12 	cmake -S robin-hood-hashing-$version -B build -G Ninja \
   13 		-D CMAKE_INSTALL_PREFIX=/usr \
   14 		-D CMAKE_INSTALL_LIBDIR=lib32 \
   15 		-D RH_STANDALONE_PROJECT=OFF \
   16 
   17 	cmake --build build
   18 	DESTDIR=$PKG cmake --install build
   19 
   20 	rm -r $PKG/usr/include
   21 }

Generated by cgit