aboutsummaryrefslogtreecommitdiff
path: root/libs/vcpkg-registry/ports/mo2-lootcli-header
diff options
context:
space:
mode:
Diffstat (limited to 'libs/vcpkg-registry/ports/mo2-lootcli-header')
-rw-r--r--libs/vcpkg-registry/ports/mo2-lootcli-header/portfile.cmake14
-rw-r--r--libs/vcpkg-registry/ports/mo2-lootcli-header/vcpkg.json18
2 files changed, 32 insertions, 0 deletions
diff --git a/libs/vcpkg-registry/ports/mo2-lootcli-header/portfile.cmake b/libs/vcpkg-registry/ports/mo2-lootcli-header/portfile.cmake
new file mode 100644
index 0000000..ddc2819
--- /dev/null
+++ b/libs/vcpkg-registry/ports/mo2-lootcli-header/portfile.cmake
@@ -0,0 +1,14 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO ModOrganizer2/modorganizer-lootcli
+ REF ${VERSION}
+ SHA512 07A29569D2577A8ED0D7C66D0907EAAF73F3C3E3A2BF5882CB435B69FC797186E233AF89B5A876AAE8838AA40A9C75BFFE8DBCBDF12485C7ED6206C3B6C6A73B
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(PACKAGE_NAME "mo2-lootcli-header" CONFIG_PATH "lib/cmake/mo2-lootcli-header")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
diff --git a/libs/vcpkg-registry/ports/mo2-lootcli-header/vcpkg.json b/libs/vcpkg-registry/ports/mo2-lootcli-header/vcpkg.json
new file mode 100644
index 0000000..96cdc61
--- /dev/null
+++ b/libs/vcpkg-registry/ports/mo2-lootcli-header/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "mo2-lootcli-header",
+ "version": "1.7.0",
+ "description": "MO2 header file to manage lootcli output.",
+ "homepage": "https://github.com/ModOrganizer2/modorganizer-lootcli",
+ "license": "GPL-3.0",
+ "supports": "!uwp",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}