diff --git a/ports/bddisasm/portfile.cmake b/ports/bddisasm/portfile.cmake new file mode 100644 index 00000000000000..3444aa10fbf8d3 --- /dev/null +++ b/ports/bddisasm/portfile.cmake @@ -0,0 +1,30 @@ +vcpkg_fail_port_install(ON_ARCH "arm") +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + 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") + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin") diff --git a/ports/bddisasm/vcpkg.json b/ports/bddisasm/vcpkg.json new file mode 100644 index 00000000000000..9dbf7e0c465f3d --- /dev/null +++ b/ports/bddisasm/vcpkg.json @@ -0,0 +1,20 @@ +{ + "name": "bddisasm", + "version": "1.32.1", + "maintainers": "Cristi Anichitei ", + "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 + } + ] +} diff --git a/versions/b-/bddisasm.json b/versions/b-/bddisasm.json new file mode 100644 index 00000000000000..66bde09a4dbc48 --- /dev/null +++ b/versions/b-/bddisasm.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "252ddf848e0ed2e3c58537bf0cc09bc6ccd067f1", + "version": "1.32.1", + "port-version": 0 + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index b428bbab5141a3..490d0efe28e71a 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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