aboutsummaryrefslogtreecommitdiff
path: root/ports/xtensor-io
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
committerJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
commit2514481b42ebdeec28649582fc666955cf206c84 (patch)
tree60c9809a5c3c8adbad240a40b1088a6f8e42c019 /ports/xtensor-io
parentb751326c91c9a307aaf5e340b61ab9f2d1ad45a4 (diff)
parent28eee51adb36f2165be846e77ef7b3ee5b3f8789 (diff)
downloadvcpkg-2514481b42ebdeec28649582fc666955cf206c84.tar.gz
vcpkg-2514481b42ebdeec28649582fc666955cf206c84.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/jack/upgrade_libi
Diffstat (limited to 'ports/xtensor-io')
-rw-r--r--ports/xtensor-io/CONTROL3
-rw-r--r--ports/xtensor-io/portfile.cmake14
2 files changed, 7 insertions, 10 deletions
diff --git a/ports/xtensor-io/CONTROL b/ports/xtensor-io/CONTROL
index 734c0becf..20d92198d 100644
--- a/ports/xtensor-io/CONTROL
+++ b/ports/xtensor-io/CONTROL
@@ -1,5 +1,6 @@
Source: xtensor-io
-Version: 0.7.0
+Version: 0.9.0
Description: xtensor plugin to read and write images, audio files, numpy (compressed) npz and HDF5
+Homepage: https://github.com/xtensor-stack/xtensor-io
Build-Depends: xtensor, xtl
diff --git a/ports/xtensor-io/portfile.cmake b/ports/xtensor-io/portfile.cmake
index d8cc89a09..d5b85978f 100644
--- a/ports/xtensor-io/portfile.cmake
+++ b/ports/xtensor-io/portfile.cmake
@@ -1,18 +1,17 @@
# header-only library
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- REPO QuantStack/xtensor-io
- REF 0.7.0
- SHA512 6c8416c595d022ed60cd802deec6d63128d205d6fd13962098b6242ace4fa9e61122e5b05837a1aab3b64bc042da7cbf2f72f2328155c342de3a6db741d4d4ee
+ REPO xtensor-stack/xtensor-io
+ REF 863dd7dad6010038568c169f20e3d3e87bd3b37a # 0.9.0
+ SHA512 f6190c5c2c487a8170e5af1ddfd2e921c414274762dac6c8f9519d579d5eb5dd3683678e7b4f589b7ced8a42f648742755acb42e2122960d6ca7fc1a82b0723e
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
+ DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DBUILD_TESTS=OFF
-DDOWNLOAD_GTEST=OFF
@@ -25,7 +24,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-# Handle copyright
-file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
-
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)