[packages/libkml] - use proper install paths
qboosh
qboosh at pld-linux.org
Fri Mar 28 19:13:03 CET 2025
commit f83a68147c2ff595209bca43ce1878b7277e7cec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 28 18:54:47 2025 +0100
- use proper install paths
libkml.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/libkml.spec b/libkml.spec
index 0436e16..857c0b6 100644
--- a/libkml.spec
+++ b/libkml.spec
@@ -127,6 +127,8 @@ install -d build-static
cd build-static
%cmake .. \
-DBUILD_SHARED_LIBS=OFF \
+ -DCMAKE_INSTALL_DIR:PATH=%{_lib}/cmake/libkml \
+ -DLIB_INSTALL_DIR:PATH=%{_lib} \
-DWITH_SWIG=OFF
%{__make}
@@ -136,7 +138,9 @@ cd ..
install -d build
cd build
%cmake .. \
- -DJNI_INSTALL_DIR=%{_libdir}/libkml \
+ -DCMAKE_INSTALL_DIR:PATH=%{_lib}/cmake/libkml \
+ -DJNI_INSTALL_DIR:PATH=%{_libdir}/libkml \
+ -DLIB_INSTALL_DIR:PATH=%{_lib} \
-DPYTHON_EXECUTABLE=%{__python} \
-DWITH_JAVA=%{__true_false java} \
-DWITH_PYTHON=ON \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libkml.git/commitdiff/f83a68147c2ff595209bca43ce1878b7277e7cec
More information about the pld-cvs-commit
mailing list