diff options
| author | atkawa7 <atkawa7@yahoo.com> | 2018-08-30 22:29:16 +0200 |
|---|---|---|
| committer | atkawa7 <atkawa7@yahoo.com> | 2018-08-30 22:29:16 +0200 |
| commit | e5da089bb9f9c15ebad750ee737f6adbbf9956f8 (patch) | |
| tree | 2d5f82787ccc479d7619e0514556245728c38282 | |
| parent | 04ba5aa07bddb72056a5a04ed705f54bc515923f (diff) | |
| download | vcpkg-e5da089bb9f9c15ebad750ee737f6adbbf9956f8.tar.gz vcpkg-e5da089bb9f9c15ebad750ee737f6adbbf9956f8.zip | |
esaxx init
| -rw-r--r-- | ports/esaxx/CONTROL | 3 | ||||
| -rw-r--r-- | ports/esaxx/portfile.cmake | 17 |
2 files changed, 20 insertions, 0 deletions
diff --git a/ports/esaxx/CONTROL b/ports/esaxx/CONTROL new file mode 100644 index 000000000..48b7eebec --- /dev/null +++ b/ports/esaxx/CONTROL @@ -0,0 +1,3 @@ +Source: esaxx
+Version: ca7cb332011ec37
+Description: This library provides the implementation of enhanced suffix array.
diff --git a/ports/esaxx/portfile.cmake b/ports/esaxx/portfile.cmake new file mode 100644 index 000000000..93e24ff36 --- /dev/null +++ b/ports/esaxx/portfile.cmake @@ -0,0 +1,17 @@ +#header-only library
+include(vcpkg_common_functions)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO hillbig/esaxx
+ REF ca7cb332011ec37a8436487f210f396b84bd8273
+ SHA512 8346fc93498f7979fd422db527d0e2db73080b2c372263a72a887ddc8328a29391bce6def5845f4500a180f5c2e641105d0ce108092e6eac9020c6bd67fb46df
+)
+
+file(INSTALL
+ ${SOURCE_PATH}/esa.hxx
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include
+)
+
+# Handle copyright/readme/package files
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/esaxx RENAME copyright)
|
