aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/oof
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/oof')
-rw-r--r--vcpkg/ports/oof/portfile.cmake11
-rw-r--r--vcpkg/ports/oof/vcpkg.json7
2 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/oof/portfile.cmake b/vcpkg/ports/oof/portfile.cmake
new file mode 100644
index 0000000..49b3abb
--- /dev/null
+++ b/vcpkg/ports/oof/portfile.cmake
@@ -0,0 +1,11 @@
+# Header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO s9w/oof
+ REF a0c3e8e0dceec391bd38861ab108b932a2513bcb
+ SHA512 4d5650c8fa1e21e7fe71dbe615a6e3bdbe3781be28811e895ac335261de24b3ed26c4842cdd133df897cdb7181c3ea11c051607fbda5a7a1b9a4d8580323181d
+ HEAD_REF master
+)
+
+file(INSTALL "${SOURCE_PATH}/oof.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/oof/vcpkg.json b/vcpkg/ports/oof/vcpkg.json
new file mode 100644
index 0000000..45a899d
--- /dev/null
+++ b/vcpkg/ports/oof/vcpkg.json
@@ -0,0 +1,7 @@
+{
+ "name": "oof",
+ "version-date": "2021-11-23",
+ "description": "Convenient, high-performance RGB color and position control for console output.",
+ "homepage": "https://github.com/s9w/oof",
+ "license": "MIT"
+}