[randomstr] New port (#22921)

* [ports/randomstr] Init

* `./vcpkg x-add-version --all --overwrite-version`
This commit is contained in:
Samuel Marks 2022-02-04 13:43:09 +11:00 committed by GitHub
parent c06dfc0ac2
commit e5cdefb70e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO offscale/c89randomstr
REF 9d577c4343913a330ef32b93ed12b8942808bbbc
SHA512 7adfac8000d9057b9ca230f794bff82e1628864140e08d393e3faff890848606fff72c3dd2b296a20bf3003ed035e9e4273a0599764f515b7a6ac7091e9d2949
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DBUILD_TESTING=OFF"
)
vcpkg_cmake_install()
file(INSTALL "${SOURCE_PATH}/COPYING"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

View File

@ -0,0 +1,16 @@
{
"name": "randomstr",
"version-date": "2022-02-03",
"description": "Simple randomstr function in a header-only C89 library",
"license": "0BSD",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -5952,6 +5952,10 @@
"baseline": "6.10",
"port-version": 4
},
"randomstr": {
"baseline": "2022-02-03",
"port-version": 0
},
"rang": {
"baseline": "3.2",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "231d69b973b9219271281ebe6d125c4c31380b87",
"version-date": "2022-02-03",
"port-version": 0
}
]
}