diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-23 12:26:59 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-23 13:09:30 -0300 |
commit | f4a24425e2cd8632cf788d43449fa38dedc6a240 (patch) | |
tree | 8cf09b9b5ff203e53e8856317c9bc420ad6b95c2 /testing/glog | |
parent | 301f5816ba6e8b7297f665482d833e200ad10a0a (diff) | |
download | aports-f4a24425e2cd8632cf788d43449fa38dedc6a240.tar.bz2 aports-f4a24425e2cd8632cf788d43449fa38dedc6a240.tar.xz |
testing/glog: install libglog.pc instead of glog.pc
Diffstat (limited to 'testing/glog')
-rw-r--r-- | testing/glog/APKBUILD | 4 | ||||
-rw-r--r-- | testing/glog/pc-file.patch | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/testing/glog/APKBUILD b/testing/glog/APKBUILD index 6a2aa72c67..7b68506661 100644 --- a/testing/glog/APKBUILD +++ b/testing/glog/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: David Huffman <storedbox@outlook.com> pkgname=glog pkgver=0.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="C++ implementation of the Google logging module" options="!check" # Tests fail to compile on aarch64 armhf and armv7 url="https://github.com/google/glog" @@ -35,4 +35,4 @@ package() { make -C build DESTDIR="$pkgdir" install } sha512sums="b585f1819ade2075f6b61dc5aaca5c3f9d25601dba2bd08b6c49b96ac5f79db23c6b7f2042df003f7130497dd7241fcaa8b107d1f97385cb66ce52d3c554b176 glog-0.4.0.tar.gz -316de55003e4724427e7516bde98a70e7a0b75dbff91248e75fcc9c21d7b2a9d4c35b41fedd49ce4ba34f6480a31ba421948c750db17cd8ada299a2718673bd8 pc-file.patch" +fd58efd42b299bb2e7c38af9c900f3ae454a99fea2a9b7b20bea50347bde663127ab0c19b5f5b3fb69ed5e8e19a7b43eb173332fe993f7e1cba66bf99921a870 pc-file.patch" diff --git a/testing/glog/pc-file.patch b/testing/glog/pc-file.patch index bbb1e9ef8f..13586ff29a 100644 --- a/testing/glog/pc-file.patch +++ b/testing/glog/pc-file.patch @@ -13,18 +13,18 @@ index 808330e..0b5aaff 100644 +endif () + +if (PKGCONFIG_INSTALL_DIR) -+ configure_file ("cmake/glog.pc.in" "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" @ONLY) -+ install (FILES "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}") ++ configure_file ("cmake/libglog.pc.in" "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" @ONLY) ++ install (FILES "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}") +endif () + configure_package_config_file (glog-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/glog-config.cmake INSTALL_DESTINATION ${_glog_CMake_INSTALLDIR} -diff --git a/cmake/glog.pc.in b/cmake/glog.pc.in +diff --git a/cmake/libglog.pc.in b/cmake/libglog.pc.in new file mode 100644 index 0000000..98b54bb --- /dev/null -+++ b/cmake/glog.pc.in ++++ b/cmake/libglog.pc.in @@ -0,0 +1,10 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} |