aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/so5extra
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/so5extra')
-rw-r--r--vcpkg/ports/so5extra/portfile.cmake20
-rw-r--r--vcpkg/ports/so5extra/vcpkg.json18
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/so5extra/portfile.cmake b/vcpkg/ports/so5extra/portfile.cmake
new file mode 100644
index 0000000..a630520
--- /dev/null
+++ b/vcpkg/ports/so5extra/portfile.cmake
@@ -0,0 +1,20 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO stiffstream/so5extra
+ REF "v.${VERSION}"
+ SHA512 5744dbb3739d00fa9928718b734611c190ffe8a44ce2dd66f05333abe09dc0e59a4453a0ea4d0b714d81627e7f876493a8c87022bf10ea2011ce94f04b41b54f
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}/dev/so_5_extra"
+ OPTIONS
+ -DSO5EXTRA_INSTALL=ON
+)
+
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/so5extra)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/so5extra" RENAME copyright)
+
diff --git a/vcpkg/ports/so5extra/vcpkg.json b/vcpkg/ports/so5extra/vcpkg.json
new file mode 100644
index 0000000..7f07788
--- /dev/null
+++ b/vcpkg/ports/so5extra/vcpkg.json
@@ -0,0 +1,18 @@
+{
+ "name": "so5extra",
+ "version": "1.6.2",
+ "description": "A set of additional tools for SObjectizer framework.",
+ "homepage": "https://github.com/Stiffstream/so5extra",
+ "license": "BSD-3-Clause",
+ "dependencies": [
+ "sobjectizer",
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}