aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorBullyWiiPlaza <bullywiihacks@gmail.com>2021-07-22 23:23:14 +0200
committerGitHub <noreply@github.com>2021-07-22 14:23:14 -0700
commit2a459906dc3e28cd821d5346c11e73417918e15c (patch)
treecf928b716ec8e6ab22c44ec54bd1ec9d781c5f0d /ports
parent3547cd96d942c89f7786e9c4e374f5fd0c433dbd (diff)
downloadvcpkg-2a459906dc3e28cd821d5346c11e73417918e15c.tar.gz
vcpkg-2a459906dc3e28cd821d5346c11e73417918e15c.zip
[ADVobfuscator] Add new port (#18989)
* [cli11] Update to 1.9.1 * Update version in CONTROL * Add new port ADVobfuscator * Format vcpkg.json * Add version * Update ports/advobfuscator/vcpkg.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update versions/a-/advobfuscator.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Update versions/a-/advobfuscator.json * version stuff Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/advobfuscator/portfile.cmake14
-rw-r--r--ports/advobfuscator/vcpkg.json8
2 files changed, 22 insertions, 0 deletions
diff --git a/ports/advobfuscator/portfile.cmake b/ports/advobfuscator/portfile.cmake
new file mode 100644
index 000000000..883ac4865
--- /dev/null
+++ b/ports/advobfuscator/portfile.cmake
@@ -0,0 +1,14 @@
+# Download the code from GitHub
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO andrivet/ADVobfuscator
+ REF 1852a0eb75b03ab3139af7f938dfb617c292c600
+ SHA512 1bca72b21a3cbf9d8db21fb21d112dd4ca83cac695abfb8fc3d8065245a0cc84cb9e41eb9ff81481e8e0a9d214ff6f5c9aec5d1ba8a9d4387b08dd895ecf1cd5
+ HEAD_REF master
+)
+
+# Install the header only source files to the right location
+file(INSTALL ${SOURCE_PATH}/Lib DESTINATION ${CURRENT_PACKAGES_DIR}/include)
+
+# The README.md conains the LICENSE details
+file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
diff --git a/ports/advobfuscator/vcpkg.json b/ports/advobfuscator/vcpkg.json
new file mode 100644
index 000000000..370f98a85
--- /dev/null
+++ b/ports/advobfuscator/vcpkg.json
@@ -0,0 +1,8 @@
+{
+ "name": "advobfuscator",
+ "version-date": "2020-06-26",
+ "description": "Obfuscation library based on C++11/14 and metaprogramming",
+ "dependencies": [
+ "boost-msm"
+ ]
+}