mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
[fineftp] add new port fineftp-v1.3.4 (#31435)
* [fineftp] Add package v1.3.4 * [fineftp] Updated license * [fineftp] database updated * [fineftp] Fix git tree * [fineftp] Disable Android platform * [fineftp] Updated database * Update ports/fineftp/portfile.cmake Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * Update ports/fineftp/portfile.cmake Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * [fineftp] Add EOF * [fineftp] Update database * [fineftp] Remove white line * [fineftp] Update database * [fineftp] Remove empty line * [fineftp] Update database --------- Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
This commit is contained in:
parent
429c605af8
commit
338d300d3e
13
ports/fineftp/asio.patch
Normal file
13
ports/fineftp/asio.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/fineftp-server/CMakeLists.txt b/fineftp-server/CMakeLists.txt
|
||||
index e4e3152..9e609d9 100644
|
||||
--- a/fineftp-server/CMakeLists.txt
|
||||
+++ b/fineftp-server/CMakeLists.txt
|
||||
@@ -10,7 +10,7 @@ set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
-find_package(asio REQUIRED)
|
||||
+find_package(asio CONFIG REQUIRED)
|
||||
|
||||
# Include GenerateExportHeader that will create export macros for us
|
||||
include(GenerateExportHeader)
|
26
ports/fineftp/portfile.cmake
Normal file
26
ports/fineftp/portfile.cmake
Normal file
@ -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 dcced2cf743434a55314ad661ca729efc1c4883ae0c0883335f43a12ed47568ebcb50d233dab8a1410bb526587b24f1cf19938241bf649cfe54b11ffe264124b
|
||||
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")
|
20
ports/fineftp/vcpkg.json
Normal file
20
ports/fineftp/vcpkg.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "fineftp",
|
||||
"version": "1.3.4",
|
||||
"description": "FineFTP is a minimal FTP server library for Windows and Unix flavors.",
|
||||
"homepage": "https://github.com/eclipse-ecal/fineftp-server",
|
||||
"license": "MIT",
|
||||
"supports": "!uwp & !android",
|
||||
"dependencies": [
|
||||
"asio",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
@ -2480,6 +2480,10 @@
|
||||
"baseline": "2019-12-19",
|
||||
"port-version": 2
|
||||
},
|
||||
"fineftp": {
|
||||
"baseline": "1.3.4",
|
||||
"port-version": 0
|
||||
},
|
||||
"fixed-string": {
|
||||
"baseline": "0.1.1",
|
||||
"port-version": 0
|
||||
|
9
versions/f-/fineftp.json
Normal file
9
versions/f-/fineftp.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "379dd5cfe0c3cad96197e14aa9782daf51daca3d",
|
||||
"version": "1.3.4",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user