[srell] Add new port (#20315)

* add srell port

* add versioning

* fill out manifest

* update versioning
This commit is contained in:
Ryan 2021-09-27 19:47:36 -07:00 committed by GitHub
parent 84117b9736
commit 6e51f7dd1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,23 @@
set(VERSION 2_920)
vcpkg_download_distfile(
ARCHIVE
URLS "https://www.akenotsuki.com/misc/srell/srell${VERSION}.zip"
FILENAME "srell${VERSION}.zip"
SHA512 504BE3C24F497B8EA75D06787CBD3C8A475073F5881317D15619DFE6F7CBF4F75B9A81145981D1EE0F945C0D748C7BEDC60258DC52E4860FC7B769A01C9FA9FB
)
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
NO_REMOVE_ONE_LEVEL
)
file(INSTALL
"${SOURCE_PATH}/srell.hpp"
"${SOURCE_PATH}/srell_ucfdata2.hpp"
"${SOURCE_PATH}/srell_updata.hpp"
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
)
file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

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

@ -0,0 +1,6 @@
{
"name": "srell",
"version-string": "2.920",
"description": "SRELL (std::regex-like library) is a regular expression template library for C++.",
"homepage": "https://www.akenotsuki.com/misc/srell/en/"
}

View File

@ -6312,6 +6312,10 @@
"baseline": "0.6.4",
"port-version": 0
},
"srell": {
"baseline": "2.920",
"port-version": 0
},
"srpc": {
"baseline": "0.9.3",
"port-version": 0

9
versions/s-/srell.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "3497458c9ed34a6d973e693711dffcc387e81ad0",
"version-string": "2.920",
"port-version": 0
}
]
}