aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fineftp/portfile.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/fineftp/portfile.cmake')
-rw-r--r--vcpkg/ports/fineftp/portfile.cmake26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/fineftp/portfile.cmake b/vcpkg/ports/fineftp/portfile.cmake
new file mode 100644
index 0000000..b87d70a
--- /dev/null
+++ b/vcpkg/ports/fineftp/portfile.cmake
@@ -0,0 +1,26 @@
+#Get release from GitHub
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO eclipse-ecal/fineftp-server
+ REF "v${VERSION}"
+ SHA512 10e6fe6724e1751cb72d212f5fc8053b9c715e79ab41b080beb35c3501377b9e8fd8137de0b30266709aa34432dfa4593026db1b04735f7c1a4dbde90763ea97
+ HEAD_REF master
+ PATCHES
+ asio.patch
+)
+
+# Configure
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(
+ PACKAGE_NAME fineftp
+ CONFIG_PATH lib/cmake/fineftp
+)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")