robin-hood-hashing: adopted port, moved libdir to share as its arch independent

This commit is contained in:
Tim Biermann 2023-08-19 11:15:32 +02:00
parent 606fc60f02
commit 6417f89a44
3 changed files with 15 additions and 13 deletions

View File

@ -1,8 +1,8 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/robin_hood.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/robin_hood/
-rw-r--r-- root/root usr/lib/cmake/robin_hood/robin_hood-targets.cmake
-rw-r--r-- root/root usr/lib/cmake/robin_hood/robin_hoodConfig.cmake
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/cmake/
drwxr-xr-x root/root usr/share/cmake/robin_hood/
-rw-r--r-- root/root usr/share/cmake/robin_hood/robin_hood-targets.cmake
-rw-r--r-- root/root usr/share/cmake/robin_hood/robin_hoodConfig.cmake

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/SKLtKy8qlw+VKq28qUo+7uX+IiLczZW+eN6fcTcXpmhX5PdV4me64or8TktDru2D9gqzscZJHQWCMGkjUrSKg8=
SHA256 (Pkgfile) = 6bbfc7d50becd938f07c2ffbde2302f064656588d1a143f3b3ffff206f9cae9f
SHA256 (.footprint) = d09b509c88b0d5a8cdb3e3386fb26de2eeacd18c185e0268c24e0e382d757f0f
RWSE3ohX2g5d/VxAqEdVVGb7vbC2ALEJ218Wd1Co7ncbhdTl7uuBolHVTtX3uj5aef6YABmCCWHfB5ML0YAEW6hKVob/fv149Ak=
SHA256 (Pkgfile) = 928636c95c14006fa3a0e7c059c7bfcb9b8000a4b5ee365dcbdc9e077d9ea9b0
SHA256 (.footprint) = bc8104e4e2fe797e4178cde2ad8d95b57726bc974a472f5b008c2c5dbdfc7037
SHA256 (robin-hood-hashing-3.11.5.tar.gz) = 3693e44dda569e9a8b87ce8263f7477b23af448a3c3600c8ab9004fe79c20ad0

View File

@ -1,18 +1,20 @@
# 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: Danny Rawlins, crux at romster dot me
# Depends on: cmake
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=robin-hood-hashing
version=3.11.5
release=1
release=2
source=(https://github.com/martinus/robin-hood-hashing/archive/$version/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build \
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_INSTALL_LIBDIR=share \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D RH_STANDALONE_PROJECT=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build