mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[date] set correct license and use vcpkg_install_copyright() (#32549)
This commit is contained in:
parent
2418d414eb
commit
d751358003
@ -8,7 +8,7 @@ endif()
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO HowardHinnant/date
|
||||
REF v3.0.1
|
||||
REF "v${VERSION}"
|
||||
SHA512 6bdc7cba821d66e17a559250cc0ce0095808e9db81cec9e16eaa4c31abdfa705299c67b72016d9b06b302bc306d063e83a374eb00728071b83a5ad650d59034f
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
@ -41,4 +41,4 @@ vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "date",
|
||||
"version": "3.0.1",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "A date and time library based on the C++17 <chrono> header",
|
||||
"homepage": "https://github.com/HowardHinnant/date",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
|
@ -2018,7 +2018,7 @@
|
||||
},
|
||||
"date": {
|
||||
"baseline": "3.0.1",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"dav1d": {
|
||||
"baseline": "1.2.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b3ca1bdc08676cd1bb802421bd94a18872305737",
|
||||
"version": "3.0.1",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "14d5c6822908ad2fd1d700cca2067ae4b8ef4404",
|
||||
"version": "3.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user