aboutsummaryrefslogtreecommitdiff
path: root/ports/libxlsxwriter
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-09-04 05:14:39 +0800
committerGitHub <noreply@github.com>2021-09-03 14:14:39 -0700
commitcaf2e7460bbf983a498c8c8220b715062551ca22 (patch)
tree269e7c9e3e06436b5dc851c906542aef950afaf8 /ports/libxlsxwriter
parent8c092e5cb6c275906758f0b5b54dde4ce6afaaa0 (diff)
downloadvcpkg-caf2e7460bbf983a498c8c8220b715062551ca22.tar.gz
vcpkg-caf2e7460bbf983a498c8c8220b715062551ca22.zip
[libosmium/libxlsxwriter] Update to the latest version (#19935)
* [libosmium/libxlsxwriter] Update to the latest version * Update version files * Update versions/l-/libosmium.json * Attempt to fix version database again. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/libxlsxwriter')
-rw-r--r--ports/libxlsxwriter/CONTROL5
-rw-r--r--ports/libxlsxwriter/portfile.cmake20
-rw-r--r--ports/libxlsxwriter/vcpkg.json13
3 files changed, 23 insertions, 15 deletions
diff --git a/ports/libxlsxwriter/CONTROL b/ports/libxlsxwriter/CONTROL
deleted file mode 100644
index 2cd6384ce..000000000
--- a/ports/libxlsxwriter/CONTROL
+++ /dev/null
@@ -1,5 +0,0 @@
-Source: libxlsxwriter
-Version: 0.9.4
-Description: Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
-Homepage: https://github.com/jmcnamara/libxlsxwriter
-Build-Depends: zlib
diff --git a/ports/libxlsxwriter/portfile.cmake b/ports/libxlsxwriter/portfile.cmake
index c19db947b..20700c76c 100644
--- a/ports/libxlsxwriter/portfile.cmake
+++ b/ports/libxlsxwriter/portfile.cmake
@@ -1,9 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jmcnamara/libxlsxwriter
- REF RELEASE_0.9.4
- SHA512 d7bc319e6b9cd2ad6aaa2f3eb6fdce1c5bcc1d5af23ffb3413e29760191f6aed41f836aaa71a322efe7966f3753a6d8a01cb0b403d682b13a6a3734a87cc12ba
- HEAD_REF master
+ REF 576d169463c7f9990045fd9223f5cf688150def0 #RELEASE_1.1.3
+ SHA512 376db117df3ab48a6471d7004fc77fb8bd9b5d9dfaff53675f1bd99c8bc9bec7cadcefbd7116b206ef4703b9146cf097ad3b8aadff36b66302f1c82e8e1fa988
+ HEAD_REF master
)
if (VCPKG_TARGET_IS_UWP)
@@ -12,16 +12,16 @@ else()
set(USE_WINDOWSSTORE OFF)
endif()
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS -DWINDOWSSTORE=${USE_WINDOWSSTORE}
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DWINDOWSSTORE=${USE_WINDOWSSTORE}
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()
-file(INSTALL ${SOURCE_PATH}/License.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/License.txt" DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
diff --git a/ports/libxlsxwriter/vcpkg.json b/ports/libxlsxwriter/vcpkg.json
new file mode 100644
index 000000000..2138d56be
--- /dev/null
+++ b/ports/libxlsxwriter/vcpkg.json
@@ -0,0 +1,13 @@
+{
+ "name": "libxlsxwriter",
+ "version-semver": "1.1.3",
+ "description": "Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.",
+ "homepage": "https://github.com/jmcnamara/libxlsxwriter",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ "zlib"
+ ]
+}