Skip to content

Commit

Permalink
cfitsio: fix libdir
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Oct 7, 2024
1 parent 7fc5eec commit 25762b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tur/cfitsio/0002-fix-libdir.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -359,7 +359,7 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cfitsio.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/cfitsio.pc @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cfitsio-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/cfitsio-config.cmake @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cfitsio-config-version.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/cfitsio-config-version.cmake @ONLY)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cfitsio.pc DESTINATION ${LIB_DESTINATION}/lib/pkgconfig/)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/cfitsio.pc DESTINATION ${LIB_DESTINATION}/pkgconfig/)
install(FILES ${CFITSIO_BINARY_DIR}/cfitsio-config.cmake
${CFITSIO_BINARY_DIR}/cfitsio-config-version.cmake
- DESTINATION ${LIB_DESTINATION}/lib/cfitsio-${CFITSIO_VERSION})
+ DESTINATION ${LIB_DESTINATION}/cmake/cfitsio-${CFITSIO_VERSION})
1 change: 1 addition & 0 deletions tur/cfitsio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="License.txt"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="4.5.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=e4854fc3365c1462e493aa586bfaa2f3d0bb8c20b75a524955db64c27427ce09
TERMUX_PKG_DEPENDS="curl, zlib"
Expand Down

0 comments on commit 25762b8

Please sign in to comment.