aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJangBoo <54249941+JangBoo@users.noreply.github.com>2020-06-23 17:18:09 -0400
committerGitHub <noreply@github.com>2020-06-23 14:18:09 -0700
commit09be10d763f7152f7efc53d16d666ef2015e59d6 (patch)
treeeb0a5802115b3d2bc238cf45a0f29c6a21d11558
parente33e3fc229dfbf17401fb9e1435177d039a22072 (diff)
downloadvcpkg-09be10d763f7152f7efc53d16d666ef2015e59d6.tar.gz
vcpkg-09be10d763f7152f7efc53d16d666ef2015e59d6.zip
[Bitmagic] Add new port (#11890)
* Add Bitmagic Port file * Renamed to Bitmagic * Added bitmagic portfile * Added lower case to capital letter to match * Edited path for header files * Removed function vcpkg_configure_cmake()
-rw-r--r--ports/bitmagic/CONTROL4
-rw-r--r--ports/bitmagic/portfile.cmake13
2 files changed, 17 insertions, 0 deletions
diff --git a/ports/bitmagic/CONTROL b/ports/bitmagic/CONTROL
new file mode 100644
index 000000000..0269eb1b4
--- /dev/null
+++ b/ports/bitmagic/CONTROL
@@ -0,0 +1,4 @@
+Source: bitmagic
+Version: 6.4.0
+Homepage: http://bitmagic.io
+Description: Algorithms and tools for Algebra of Sets for information retrieval, indexing of databases, scientific algorithms, ranking, clustering, unsupervised machine learning and signal processing.
diff --git a/ports/bitmagic/portfile.cmake b/ports/bitmagic/portfile.cmake
new file mode 100644
index 000000000..f1cc0ed76
--- /dev/null
+++ b/ports/bitmagic/portfile.cmake
@@ -0,0 +1,13 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO tlk00/BitMagic
+ REF v6.4.0
+ SHA512 a7968aaed950e9174192635fe7ab560234bb2757519ea5a2db911e73457e5859f0e16499756865d1eeab286a93da0e87bd454cfa750c20093db3219c05204f96
+ HEAD_REF master
+
+)
+
+file(GLOB HEADER_LIST "${SOURCE_PATH}/src/*.h")
+file(INSTALL ${HEADER_LIST} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)