[phnt] Update to 2020-12-21 (#15722)

* [phnt] Update to 2020-12-21

* Run x-add-version

* version-string -> version-date

* Run x-add-version
This commit is contained in:
tiqac 2021-01-20 04:56:14 +10:00 committed by GitHub
parent 816614a8eb
commit 6690611750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 11 deletions

View File

@ -4473,7 +4473,7 @@
"port-version": 0
},
"phnt": {
"baseline": "2019-05-01",
"baseline": "2020-12-21",
"port-version": 0
},
"physfs": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "93f6534bed52cf8dfda970f4ddc5b51352eac5bd",
"version-date": "2020-12-21",
"port-version": 0
},
{
"git-tree": "fa7a8a91ecb156614e8a72657f76fd6220624525",
"version-string": "2019-05-01",

View File

@ -1,4 +0,0 @@
Source: phnt
Version: 2019-05-01
Homepage: https://github.com/processhacker/phnt
Description: Windows Native API header files

View File

@ -1,15 +1,12 @@
#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO processhacker/phnt
REF 33cfd75a2be59bbde3aa4db3399a9e6bab66ae6a
SHA512 90a1b38d27e35e7706e66dae0f4e151b50f5b74fbedf15ad165beece6a94b8a87263e16e1e0b891a324091c3769fd2ff2f541e11691b322413e575e6f08dc746
REF 3f19efe9fd402378c7cd12fe1c0aacd154c8cd3c
SHA512 88f1f5ab1f2c8b3100e47f43cee7bdcb412ef9f688e3840ddc8a78d8b75b4baf714aadc27829e0ea95d97a22031019d25f9916d09bb63cea37304e9c9c08285a
HEAD_REF master
)
# Install headers
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/phnt RENAME copyright)
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)

6
ports/phnt/vcpkg.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "phnt",
"version-date": "2020-12-21",
"description": "Windows Native API header files",
"homepage": "https://github.com/processhacker/phnt"
}