diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-08-30 17:22:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-30 17:22:03 -0700 |
| commit | 4aa3aab426a6cb30a672118b5a07a09e09bf8709 (patch) | |
| tree | 9ba540b43bf3402c45e67053dfb9273985ba32d3 | |
| parent | ab54bfa0cc98b96a6cffe75e4045ccbd366dbe46 (diff) | |
| parent | 361534bf073d925da3cebc4e465ac1b43e4f3efe (diff) | |
| download | vcpkg-4aa3aab426a6cb30a672118b5a07a09e09bf8709.tar.gz vcpkg-4aa3aab426a6cb30a672118b5a07a09e09bf8709.zip | |
Merge pull request #4191 from atkawa7/sais
sais init
| -rw-r--r-- | ports/sais/CONTROL | 3 | ||||
| -rw-r--r-- | ports/sais/portfile.cmake | 26 |
2 files changed, 29 insertions, 0 deletions
diff --git a/ports/sais/CONTROL b/ports/sais/CONTROL new file mode 100644 index 000000000..3c6262c6b --- /dev/null +++ b/ports/sais/CONTROL @@ -0,0 +1,3 @@ +Source: sais
+Version: 2.4.1
+Description: An implementation of the induced sorting algorithm
diff --git a/ports/sais/portfile.cmake b/ports/sais/portfile.cmake new file mode 100644 index 000000000..0387f1313 --- /dev/null +++ b/ports/sais/portfile.cmake @@ -0,0 +1,26 @@ +
+include(vcpkg_common_functions)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sais-2.4.1)
+vcpkg_download_distfile(ARCHIVE
+ URLS "https://sites.google.com/site/yuta256/sais-2.4.1.zip"
+ FILENAME "sais-2.4.1.zip"
+ SHA512 6f6dd11f842f680bebc1d9b7f6b75752c9589c600fdd5e6373bb7290a686f1de35d4cc3226347e717f89a295363f7fee0ae8b1aa05ad341f4c2ea056fb5b1425
+)
+vcpkg_extract_source_archive(${ARCHIVE})
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DBUILD_SAIS64=ON
+)
+
+vcpkg_install_cmake()
+vcpkg_copy_pdbs()
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+
+
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/sais RENAME copyright)
|
