diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2019-12-06 11:46:43 +0800 |
|---|---|---|
| committer | Griffin Downs <35574547+grdowns@users.noreply.github.com> | 2019-12-05 19:46:43 -0800 |
| commit | 3f11755f2a295517874cfc367b3c9088f4d29d07 (patch) | |
| tree | d7b3c7c0c3b0cd05577cf7efeffdfa29b8e0a061 | |
| parent | e4653aec8f67634969c712820de5f7e53ea74fac (diff) | |
| download | vcpkg-3f11755f2a295517874cfc367b3c9088f4d29d07.tar.gz vcpkg-3f11755f2a295517874cfc367b3c9088f4d29d07.zip | |
Remove rapidstring port (#9143)
| -rw-r--r-- | ports/rapidstring/CONTROL | 3 | ||||
| -rw-r--r-- | ports/rapidstring/fix-cmake-install.patch | 34 | ||||
| -rw-r--r-- | ports/rapidstring/portfile.cmake | 27 |
3 files changed, 0 insertions, 64 deletions
diff --git a/ports/rapidstring/CONTROL b/ports/rapidstring/CONTROL deleted file mode 100644 index e88c40ec2..000000000 --- a/ports/rapidstring/CONTROL +++ /dev/null @@ -1,3 +0,0 @@ -Source: rapidstring
-Version: 2018-08-03
-Description: rapidstring is maybe the fastest string library ever written in ANSI C.
diff --git a/ports/rapidstring/fix-cmake-install.patch b/ports/rapidstring/fix-cmake-install.patch deleted file mode 100644 index 624a71d2b..000000000 --- a/ports/rapidstring/fix-cmake-install.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8543256..8ebce9c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,15 +1,26 @@ - cmake_minimum_required(VERSION 3.8 FATAL_ERROR) - project(rapidstring LANGUAGES C VERSION 0.1.0) - add_library(rapidstring INTERFACE) --target_include_directories(rapidstring INTERFACE include) -+target_include_directories(rapidstring INTERFACE -+ $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/include> -+ $<INSTALL_INTERFACE:include>) - - include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/utility.cmake) - - # TODO: Installation. -+install(FILES include/rapidstring.h DESTINATION include) -+ -+install(TARGETS rapidstring EXPORT rapidstringConfig) -+ -+install(EXPORT rapidstringConfig -+ FILE unofficial-rapidstringConfig.cmake -+ NAMESPACE unofficial::rapidstring:: -+ DESTINATION share/cmake/rapidstring -+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) - - if(BUILD_TESTING) - enable_testing() - endif() - --add_subdirectory(test) --add_subdirectory(benchmark) -+#add_subdirectory(test) -+#add_subdirectory(benchmark) diff --git a/ports/rapidstring/portfile.cmake b/ports/rapidstring/portfile.cmake deleted file mode 100644 index 2bce2d015..000000000 --- a/ports/rapidstring/portfile.cmake +++ /dev/null @@ -1,27 +0,0 @@ -include(vcpkg_common_functions)
-
-vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO boyerjohn/rapidstring
- REF ee433955c1e9cacfaecbf53c0a13318ab5825bd4
- SHA512 89e0656323d53dc3c47ba24ad9a032445b0985f21aaace05ea5bdbfb0ade5291193ac06145faf5984bcdff67c2a07a500109ce938174dbf1339fea2d79a6bd10
- HEAD_REF master
- PATCHES
- fix-cmake-install.patch
-)
-
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS
- -DBUILD_TESTING=OFF
-)
-
-vcpkg_install_cmake()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/rapidstring TARGET_PATH share/unofficial-rapidstring)
-
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
-
-# Handle copyright
-configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/rapidstring/copyright COPYONLY)
|
