diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-09-04 19:00:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-04 19:00:25 -0700 |
| commit | 14c76880b54828f51606638227e3a14f8b5b4929 (patch) | |
| tree | 9c8ca8b4dddaf1cc14cb7f57a8ec23e778f8638d | |
| parent | 2fd8643d5ff8ebb08ec96a88724b61f52fb1d834 (diff) | |
| parent | 606d14359dfa78cf476e1b2b9090f463ec51680a (diff) | |
| download | vcpkg-14c76880b54828f51606638227e3a14f8b5b4929.tar.gz vcpkg-14c76880b54828f51606638227e3a14f8b5b4929.zip | |
Merge pull request #4207 from atkawa7/linenoise-ng
linenoise init
| -rw-r--r-- | ports/linenoise-ng/CONTROL | 3 | ||||
| -rw-r--r-- | ports/linenoise-ng/portfile.cmake | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/ports/linenoise-ng/CONTROL b/ports/linenoise-ng/CONTROL new file mode 100644 index 000000000..8023c7f7d --- /dev/null +++ b/ports/linenoise-ng/CONTROL @@ -0,0 +1,3 @@ +Source: linenoise-ng
+Version: 4754bee2d8eb3
+Description: A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters.
\ No newline at end of file diff --git a/ports/linenoise-ng/portfile.cmake b/ports/linenoise-ng/portfile.cmake new file mode 100644 index 000000000..c5e448e86 --- /dev/null +++ b/ports/linenoise-ng/portfile.cmake @@ -0,0 +1,22 @@ +include(vcpkg_common_functions)
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO arangodb/linenoise-ng
+ REF 4754bee2d8eb3c4511e6ac87cac62255b2011e2f
+ SHA512 080c6b4cde911a162885a2e6fc95143ab481b4dcc0f8b871a55a071ccb4ab868b19201ec17475a3c3ceef1b82325d757913383b3c46da6946ddc8bfc0d82d9ca
+ HEAD_REF master
+)
+
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/linenoise-ng RENAME copyright)
|
