early-access version 2853
This commit is contained in:
24
externals/vcpkg/ports/cccapstone/fix-include-path.patch
vendored
Executable file
24
externals/vcpkg/ports/cccapstone/fix-include-path.patch
vendored
Executable file
@@ -0,0 +1,24 @@
|
||||
diff --git a/cppbindings/CsCapstoneHelper.hh b/cppbindings/CsCapstoneHelper.hh
|
||||
index daf7a73..8ed5194 100644
|
||||
--- a/cppbindings/CsCapstoneHelper.hh
|
||||
+++ b/cppbindings/CsCapstoneHelper.hh
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
-#include <capstone.h>
|
||||
+#include <capstone/capstone.h>
|
||||
#include <memory>
|
||||
|
||||
struct CS_HANDLE :
|
||||
diff --git a/cppbindings/CsIns.hpp b/cppbindings/CsIns.hpp
|
||||
index 6e8ba71..c723be9 100644
|
||||
--- a/cppbindings/CsIns.hpp
|
||||
+++ b/cppbindings/CsIns.hpp
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
-#include <capstone.h>
|
||||
+#include <capstone/capstone.h>
|
||||
#include "CsCapstoneHelper.hh"
|
||||
|
||||
//x86_insn_group, x86_reg, x86_op_type, x86_insn
|
||||
11
externals/vcpkg/ports/cccapstone/portfile.cmake
vendored
Executable file
11
externals/vcpkg/ports/cccapstone/portfile.cmake
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REF 9b4128ee1153e78288a1b5433e2c06a0d47a4c4e
|
||||
REPO zer0mem/cccapstone
|
||||
SHA512 d0023586281f921314dbba501fa2c06d822b1adba0a0c32f30b78628ee935e5822caebe3881a5d1cc4cc696b82a7e348044d887a7f652303359d2853d2ee45fb
|
||||
HEAD_REF master
|
||||
PATCHES fix-include-path.patch
|
||||
)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/cppbindings/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/cccapstone/cppbindings)
|
||||
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/cccapstone RENAME copyright)
|
||||
10
externals/vcpkg/ports/cccapstone/vcpkg.json
vendored
Executable file
10
externals/vcpkg/ports/cccapstone/vcpkg.json
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "cccapstone",
|
||||
"version-string": "9b4128ee1153e78288a1b5433e2c06a0d47a4c4e",
|
||||
"port-version": 2,
|
||||
"description": "c++ bindings for capstone disasembly framework",
|
||||
"homepage": "https://github.com/zer0mem/cccapstone",
|
||||
"dependencies": [
|
||||
"capstone"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user