diff --git a/ports/dylib/portfile.cmake b/ports/dylib/portfile.cmake new file mode 100644 index 00000000000000..48985968d01b06 --- /dev/null +++ b/ports/dylib/portfile.cmake @@ -0,0 +1,21 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO martin-olivier/dylib + REF "v${VERSION}" + SHA512 8e691c1bc73f381ce8ec50d85165c122ba55167b050e696c8b26ccf1ba14999ca8129fb6c5b6c3320166f606acb2c21867d0786347c341d1267815580beb5c0a + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dylib) + +vcpkg_fixup_pkgconfig() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/dylib/vcpkg.json b/ports/dylib/vcpkg.json new file mode 100644 index 00000000000000..0ae7f7b97c7f99 --- /dev/null +++ b/ports/dylib/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "dylib", + "version-semver": "2.2.1", + "description": "C++ cross-platform wrapper around dynamic loading of shared libraries", + "homepage": "https://github.com/martin-olivier/dylib", + "license": "MIT", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index af7a4c3570018d..c7e77300c81f0f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2296,6 +2296,10 @@ "baseline": "11.31", "port-version": 3 }, + "dylib": { + "baseline": "2.2.1", + "port-version": 0 + }, "eabase": { "baseline": "2.09.12", "port-version": 3 diff --git a/versions/d-/dylib.json b/versions/d-/dylib.json new file mode 100644 index 00000000000000..19054b4d3858f9 --- /dev/null +++ b/versions/d-/dylib.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "5fcb0f058217dc6352d308f18015ef37b3f5f23c", + "version-semver": "2.2.1", + "port-version": 0 + } + ] +}