tenacity: fix rpath

This commit is contained in:
John McQuah 2023-11-23 13:47:33 +00:00
parent 910afd6f2f
commit 5315fe6fde
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37kJamwaJ2jgwQB6nolSXP2xFe3c+CnFLL9FZF3PAPCYxebzrWq8KxuZ/zaqpdxoDmRIpA7eCWBLq2R3kV6aVAU=
SHA256 (Pkgfile) = 764dfaa1e880886f9fcbfeed0e5462e1e41a98f0d2de4dd6b2997edb6c085d78
RWSagIOpLGJF36/iDidrPj3e4cSLVayIBYJPAaOGnaoij4GBsfomCVyC5J3riGPpj1/QZgeqmqi8UCu28zO9toG7JwQYMtRzWgs=
SHA256 (Pkgfile) = 0cddb5a512e1c74db1e0f54120766773413a14a3c9584106464d82a764f1ba9d
SHA256 (.footprint) = e62648ba4723c26e0c52ebda73dcc0b8fd05c90ed8964d43e894cc38a85f4801
SHA256 (tenacity-v1.3.3.tar.gz) = 12be483d06d4aae9c8225dec46f5ac90f0bb2314bd4cc5cfa2dd6b35a00e7ebe
SHA256 (libnyquist-6bbad2bac5661bca9ac650b40022c54881ea380b.tar.gz) = 789a0fccf13ce1e7f5c6598b5ec3437c3d234c71ef55501afe45a171ccde9aa5

View File

@ -7,7 +7,7 @@
name=tenacity
version=1.3.3
libnyq_commit=6bbad2bac5661bca9ac650b40022c54881ea380b
release=1
release=2
source=(https://codeberg.org/tenacityteam/$name/archive/v$version.tar.gz
https://codeberg.org/tenacityteam/libnyquist/archive/$libnyq_commit.tar.gz)
renames=($name-v$version.tar.gz
@ -20,11 +20,14 @@ build(){
sed -e "/CMAKE_MODULE_PATH/s/cmake/cmake-modules/" \
-i lib-src/libnyquist/CMakeLists.txt
sed -e '/^set. CMAKE_INSTALL_RPATH /s|ORIGIN/..|{INSTALL_PREFIX}|' \
-i CMakeLists.txt
cmake -G Ninja -S . -B build \
-D CMAKE_C_FLAGS="$CFLAGS" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS" \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=/usr/lib \
-D CMAKE_INSTALL_LIBDIR=lib \
-Wno-dev
ninja -C build -j ${JOBS:-1}