Skip to content

Commit

Permalink
[libobfuscate] new port (#35106)
Browse files Browse the repository at this point in the history
* add new port.

* add header install.

* formatting.

* versions.

* Update ports/obfuscate/portfile.cmake

Co-authored-by: JonLiu1993 <[email protected]>

* rename port.

* update versions file.

---------

Co-authored-by: JonLiu1993 <[email protected]>
  • Loading branch information
nickdademo and JonLiu1993 authored Nov 15, 2023
1 parent b4e9db1 commit 5409565
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ports/libobfuscate/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO adamyaxley/Obfuscate
REF 674a53f34c05a1dd092561face7a6807f921d223
SHA512 9a3ef203386f149d916d9511492da94b6ab02fb001475ecb423eaf3f5510f6332ac57ce889a6b26a8a7c54066ec3d5ffabc5886338ecdaf0590423c385c449d9
HEAD_REF master
)

file(INSTALL ${SOURCE_PATH}/obfuscate.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)

vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
7 changes: 7 additions & 0 deletions ports/libobfuscate/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "libobfuscate",
"version-date": "2023-03-23",
"description": "Guaranteed compile-time string literal obfuscation header-only library for C++14.",
"homepage": "https://github.com/adamyaxley/Obfuscate",
"license": "Unlicense"
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4552,6 +4552,10 @@
"baseline": "2021-11-03",
"port-version": 0
},
"libobfuscate": {
"baseline": "2023-03-23",
"port-version": 0
},
"libodb": {
"baseline": "2.4.0",
"port-version": 10
Expand Down
9 changes: 9 additions & 0 deletions versions/l-/libobfuscate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5751c998780a780e002a23faffc94d7d328d74c0",
"version-date": "2023-03-23",
"port-version": 0
}
]
}

0 comments on commit 5409565

Please sign in to comment.