diff options
Diffstat (limited to 'vcpkg/ports/dlfcn-win32')
| -rw-r--r-- | vcpkg/ports/dlfcn-win32/portfile.cmake | 22 | ||||
| -rw-r--r-- | vcpkg/ports/dlfcn-win32/vcpkg.json | 18 |
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/dlfcn-win32/portfile.cmake b/vcpkg/ports/dlfcn-win32/portfile.cmake new file mode 100644 index 0000000..c0ebb99 --- /dev/null +++ b/vcpkg/ports/dlfcn-win32/portfile.cmake @@ -0,0 +1,22 @@ + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO dlfcn-win32/dlfcn-win32 + REF "v${VERSION}" + SHA512 13b52c078c20f97b4293257904d64c4a018115a68af606a04699acbe3f7ff07887eecd2512363c062eb43a34cedd27c5989bded4b7d0530d697dbd65dbdbffac + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) + +set(VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS enabled) diff --git a/vcpkg/ports/dlfcn-win32/vcpkg.json b/vcpkg/ports/dlfcn-win32/vcpkg.json new file mode 100644 index 0000000..7e36737 --- /dev/null +++ b/vcpkg/ports/dlfcn-win32/vcpkg.json @@ -0,0 +1,18 @@ +{ + "name": "dlfcn-win32", + "version": "1.4.2", + "description": "dlfcn-win32 is an implementation of dlfcn for Windows.", + "homepage": "https://github.com/dlfcn-win32/dlfcn-win32", + "license": "MIT", + "supports": "windows & !uwp", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} |