early-access version 2853
This commit is contained in:
26
externals/vcpkg/ports/libudns/ignore_unknown_options.patch
vendored
Executable file
26
externals/vcpkg/ports/libudns/ignore_unknown_options.patch
vendored
Executable file
@@ -0,0 +1,26 @@
|
||||
diff --git a/configure b/configure
|
||||
index dda98b3ab..6f5f8a3c8 100644
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -25,10 +25,9 @@ fi
|
||||
enable() {
|
||||
opt=`echo "$1" | sed 's/^--[^-]*-//'`
|
||||
case "$opt" in
|
||||
- ipv6) ;;
|
||||
- *) echo "configure: unrecognized option \`$1'" >&2; exit 1;;
|
||||
+ ipv6) eval enable_$opt=$2 ;;
|
||||
+ *) echo "configure: unrecognized option \`$1'" >&2;;
|
||||
esac
|
||||
- eval enable_$opt=$2
|
||||
}
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
@@ -50,7 +49,7 @@ Optional features (all enabled by default if system supports a feature):
|
||||
EOF
|
||||
exit 0
|
||||
;;
|
||||
- *) echo "configure: unknown option \`$1'" >&2; exit 1 ;;
|
||||
+ *) echo "configure: unknown option \`$1'" >&2;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
30
externals/vcpkg/ports/libudns/portfile.cmake
vendored
Executable file
30
externals/vcpkg/ports/libudns/portfile.cmake
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ortclib/udns
|
||||
REF udns_0_4
|
||||
SHA512 4df8def718c75872536d42a757237d6c8e0afce8a53aedd7fea73814dc5cf8b5d6c9ae8f01a8cfc76864aa8293c172f08953a6750a66749ba19a3721bb4cf2ec
|
||||
HEAD_REF master
|
||||
PATCHES ignore_unknown_options.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_make(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
COPY_SOURCE
|
||||
)
|
||||
|
||||
vcpkg_build_make()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
# Install
|
||||
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libudns.a DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
||||
endif()
|
||||
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL release)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libudns.a DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
||||
endif()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/udns.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING.LGPL DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
8
externals/vcpkg/ports/libudns/vcpkg.json
vendored
Executable file
8
externals/vcpkg/ports/libudns/vcpkg.json
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "libudns",
|
||||
"version-string": "0.4",
|
||||
"port-version": 4,
|
||||
"description": "The DNS library, udns, implements thread-safe stub DNS resolver functionality, which may be used both traditional, syncronous way and asyncronously, with application-supplied event loop.",
|
||||
"homepage": "https://github.com/ortclib/udns",
|
||||
"supports": "!windows & !osx"
|
||||
}
|
||||
Reference in New Issue
Block a user