new package: libc++utilities

This commit is contained in:
Tee KOBAYASHI 2022-11-29 19:13:49 +09:00 committed by xtkoba
parent 8973446e82
commit f67c5b25b3
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://github.com/Martchus/cpp-utilities
TERMUX_PKG_DESCRIPTION="Useful C++ classes and routines such as argument parser, IO and conversion utilities"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.20.0
TERMUX_PKG_SRCURL=https://github.com/Martchus/cpp-utilities/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0aeebdaab93ebdb70f5e77f008e229db765da8575989842dbe4cbe20f3dc08e7
TERMUX_PKG_DEPENDS="boost, libc++, libiconv"
TERMUX_PKG_BUILD_DEPENDS="boost-headers"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBUILD_SHARED_LIBS=ON
"

View File

@ -0,0 +1,20 @@
--- a/cmake/modules/AppTarget.cmake
+++ b/cmake/modules/AppTarget.cmake
@@ -32,7 +32,7 @@
append_user_defined_additional_libraries()
# add target for building the application
-if (ANDROID)
+if (FALSE)
# create a shared library which can be loaded from the Java-side
add_library(${META_TARGET_NAME} SHARED ${ALL_FILES})
else ()
@@ -104,7 +104,7 @@
TARGETS ${META_TARGET_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
BUNDLE DESTINATION "${BUNDLE_INSTALL_DESTINATION}" COMPONENT binary)
- elseif (ANDROID)
+ elseif (FALSE)
install(
TARGETS ${META_TARGET_NAME}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT binary