[xbyak] Add new port (#11689)

* [xbyak] Add new port

* [xbyak] add homepage, removed deprecated functions, handle copyright correctly
This commit is contained in:
Ryan 2020-06-11 00:57:38 -07:00 committed by GitHub
parent 67eb48da0f
commit 1901067fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

5
ports/xbyak/CONTROL Normal file
View File

@ -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)

View File

@ -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)

View File

@ -1976,6 +1976,9 @@ x265:arm-uwp=fail
x265:x64-uwp=fail
xalan-c:x64-windows-static=fail
xalan-c:arm64-windows=fail
xbyak:arm64-windows=fail
xbyak:arm-uwp=fail
xbyak:x64-uwp=fail
xerces-c:arm-uwp=fail
xerces-c:x64-uwp=fail
xeus:x64-linux=ignore