aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRyan <ryan__mckenzie@hotmail.com>2020-06-11 00:57:38 -0700
committerGitHub <noreply@github.com>2020-06-11 00:57:38 -0700
commit1901067fc673c25b76a67cc2d18d0d827e9e59b0 (patch)
tree0a1e88131b0b75303472c8a5ceae22ec00b77f85 /ports
parent67eb48da0feae6b657fa1ad3a4b33c8176005302 (diff)
downloadvcpkg-1901067fc673c25b76a67cc2d18d0d827e9e59b0.tar.gz
vcpkg-1901067fc673c25b76a67cc2d18d0d827e9e59b0.zip
[xbyak] Add new port (#11689)
* [xbyak] Add new port * [xbyak] add homepage, removed deprecated functions, handle copyright correctly
Diffstat (limited to 'ports')
-rw-r--r--ports/xbyak/CONTROL5
-rw-r--r--ports/xbyak/portfile.cmake14
2 files changed, 19 insertions, 0 deletions
diff --git a/ports/xbyak/CONTROL b/ports/xbyak/CONTROL
new file mode 100644
index 000000000..05a1956cf
--- /dev/null
+++ b/ports/xbyak/CONTROL
@@ -0,0 +1,5 @@
+Source: xbyak
+Version: 5.911
+Description: Xbyak is a JIT assembler for x86(IA-32)/x64(AMD64, x86-64).
+Homepage: https://github.com/herumi/xbyak
+Supports: !(arm|uwp)
diff --git a/ports/xbyak/portfile.cmake b/ports/xbyak/portfile.cmake
new file mode 100644
index 000000000..b07b372f3
--- /dev/null
+++ b/ports/xbyak/portfile.cmake
@@ -0,0 +1,14 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO herumi/xbyak
+ REF v5.911
+ SHA512 3cb6b1e73d7dc2a23dcb31310720f0d4b83b62cfc69ff09eeefafe032e58e04574419f668d5ca957e8fc21e679e25da059f6e93724949e0ff1fcaa6779b88bdd
+ HEAD_REF master
+)
+
+# handle license file
+file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+
+# copy headers
+file(GLOB HEADER_FILES ${SOURCE_PATH}/xbyak/*.h)
+file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/xbyak)