aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinny <vpaladino778@gmail.com>2019-09-26 17:24:54 -0400
committerGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-09-26 14:24:54 -0700
commit20db9806c6a891558009d8b166f2f92f74599a12 (patch)
tree39aefde78bf2c9f8930198c6d1a1209acbbd9a23
parent22389a469001231fdf347ce8de9c94c281baa755 (diff)
downloadvcpkg-20db9806c6a891558009d8b166f2f92f74599a12.tar.gz
vcpkg-20db9806c6a891558009d8b166f2f92f74599a12.zip
[Tweeny] Added Tweeny port (#8341)
* [Tweeny] Added Tweeny port * Removed include(vcpkg_common_functions), replaced file() calls with vcpkg_fixup_cmake_targets
-rw-r--r--ports/tweeny/CONTROL4
-rw-r--r--ports/tweeny/portfile.cmake23
2 files changed, 27 insertions, 0 deletions
diff --git a/ports/tweeny/CONTROL b/ports/tweeny/CONTROL
new file mode 100644
index 000000000..19773fc6b
--- /dev/null
+++ b/ports/tweeny/CONTROL
@@ -0,0 +1,4 @@
+Source: tweeny
+Version: 3.0
+Description: A modern C++ tweening library
+Homepage: https://github.com/mobius3/tweeny \ No newline at end of file
diff --git a/ports/tweeny/portfile.cmake b/ports/tweeny/portfile.cmake
new file mode 100644
index 000000000..016c3be40
--- /dev/null
+++ b/ports/tweeny/portfile.cmake
@@ -0,0 +1,23 @@
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO mobius3/tweeny
+ REF v3
+ SHA512 41f2562a0e55b0fd2c219fab384bf46f70432abb47953b5ac768a29b2ea7b790c6aa56fd44c1fef583f6fa2011010d7dd7e637bcd2d8a9be5c9638a7f2ce7436
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH "/lib/cmake/Tweeny/")
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/cmake/Tweeny)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/tweeny RENAME copyright)