Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bddisasm] new port #18046

Merged
merged 20 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions ports/bddisasm/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
vcpkg_fail_port_install(ON_ARCH "arm")

vcpkg_from_github(
ianichitei marked this conversation as resolved.
Show resolved Hide resolved
OUT_SOURCE_PATH SOURCE_PATH
REPO bitdefender/bddisasm
REF v1.32.1
SHA512 78062081ab38f208c29e1a8cd50daad9203c93ab68cb3e48250fc3b38b7bfdb6a878a995c353f63ac7a6144f305dbdc0f5d60d67558f0403a669197979143de1
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DBDD_INCLUDE_TOOL=OFF
)

vcpkg_cmake_install()

file(INSTALL
${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
RENAME copyright
)

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/bddisasm)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
20 changes: 20 additions & 0 deletions ports/bddisasm/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "bddisasm",
"version": "1.32.1",
"maintainers": "Cristi Anichitei <ianichitei@bitdefender.com>",
"description": "bddisasm is a fast, lightweight, x86/x64 instruction decoder and emulator.",
"homepage": "https://github.com/bitdefender/bddisasm",
"documentation": "https://bddisasm.readthedocs.io/en/latest/",
"license": "Apache-2.0",
"supports": "!arm",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
ianichitei marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 9 additions & 0 deletions versions/b-/bddisasm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "4d196cdb251227836d30031a586ae2baa47452c6",
"version": "1.32.1",
"port-version": 0
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@
"baseline": "1.1.1",
"port-version": 0
},
"bddisasm": {
"baseline": "1.32.1",
"port-version": 0
},
"bde": {
"baseline": "3.2.0.0",
"port-version": 2
Expand Down