bcg729: fix cmake install path

This commit is contained in:
John 2024-08-04 15:45:12 +02:00 committed by John Zimmermann
parent e250ee55d4
commit ed98cb9fa3
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2020-11-22 21:44:04.000000000 +0100
+++ - 2024-08-04 12:14:48.905942371 +0200
@@ -87,7 +87,7 @@
include(CMakePackageConfigHelpers)
-set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_DATADIR}/Bcg729/cmake")
+set(CONFIG_PACKAGE_LOCATION "${CMAKE_INSTALL_LIBDIR}/cmake/Bcg729/")
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/Bcg729ConfigVersion.cmake"
VERSION ${PACKAGE_VERSION}

View File

@ -1,7 +1,7 @@
# Template file for 'bcg729'
pkgname=bcg729
version=1.1.1
revision=1
revision=2
build_style=cmake
configure_args="-DENABLE_STATIC=OFF"
makedepends="bcunit-devel mbedtls-devel"
@ -17,7 +17,7 @@ bcg729-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/Bcg729/cmake
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}