[air-ctl] add new port (#24837)

* add port ctl

* update version database

* use vcpkg_from_github

* update version database

* rename air-ctl

* .

* update version

* Update portfile.cmake

* update version

Co-authored-by: 然Y <inie0722.gmail.com>
This commit is contained in:
然Y 2022-05-27 04:02:15 +08:00 committed by GitHub
parent 20907dc8bf
commit 90024c5770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,19 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO inie0722/CTL
REF v1.0.0
SHA512 facd0afdb20437c0ffa5b097a68e2028faa314be6052e0db1e2c727ce5a0305bca8e575c946b0e10a6343dfaddc38770c1e5a56ae201e1aa906883df6d662398
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}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

18
ports/air-ctl/vcpkg.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "air-ctl",
"version": "1.0.0",
"description": "C template container library",
"homepage": "https://github.com/inie0722/CTL",
"license": "BSL-1.0",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

9
versions/a-/air-ctl.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7f997c28da50f2d8c86639da2c7beab3a00189ce",
"version": "1.0.0",
"port-version": 0
}
]
}

View File

@ -32,6 +32,10 @@
"baseline": "2020-06-26",
"port-version": 0
},
"air-ctl": {
"baseline": "1.0.0",
"port-version": 0
},
"aixlog": {
"baseline": "1.5.0",
"port-version": 1