Skip to content

Commit

Permalink
[eventpp] Add new port - eventpp (#23501)
Browse files Browse the repository at this point in the history
* [eventpp] Add new port - eventpp

* [eventpp] Add new port - eventpp, added vcpkg versions
  • Loading branch information
wqking authored Mar 15, 2022
1 parent ab76268 commit c6a4ed7
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ports/eventpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO wqking/eventpp
REF v0.1.2
SHA512 01fd536024dfef8c4025fc184f6b6326a901849dbf73d81430d7cfadeff25c9c140ab6a28b0143a4090703668c1d9e743a54e874c0321c3453cf40aeb4583db3
HEAD_REF master
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_TESTING=OFF
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/eventpp")
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")

file(INSTALL "${SOURCE_PATH}/license" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
17 changes: 17 additions & 0 deletions ports/eventpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "eventpp",
"version-semver": "0.1.2",
"description": "C++ library for event dispatcher and callback list",
"homepage": "https://github.com/wqking/eventpp",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2064,6 +2064,10 @@
"baseline": "2021-10-16",
"port-version": 0
},
"eventpp": {
"baseline": "0.1.2",
"port-version": 0
},
"evpp": {
"baseline": "0.7.0",
"port-version": 5
Expand Down
9 changes: 9 additions & 0 deletions versions/e-/eventpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "3f11cacc8b5a6f9f2951992d29cee39e52ef601f",
"version-semver": "0.1.2",
"port-version": 0
}
]
}

0 comments on commit c6a4ed7

Please sign in to comment.