diff options
| author | Rémi Bédard-Couture <remi.bc@outlook.com> | 2020-08-01 16:57:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 13:57:49 -0700 |
| commit | b228555bbcc5897280d46fcfea008ec8f242b34d (patch) | |
| tree | 1a2f76607707e290cf6a5522f3d37f9faace7296 | |
| parent | 322b17f573e84ea7c4db9b74fb320d24664a892e (diff) | |
| download | vcpkg-b228555bbcc5897280d46fcfea008ec8f242b34d.tar.gz vcpkg-b228555bbcc5897280d46fcfea008ec8f242b34d.zip | |
[xframe] new port for the xframe library (#12427)
* Add skeleton of signing yaml.
* add xframe port
* Update ports/xframe/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Revert "Add skeleton of signing yaml."
This reverts commit e3b135e530aebdf381e6fd31f0fbafe90b2ed196.
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
| -rw-r--r-- | ports/xframe/CONTROL | 5 | ||||
| -rw-r--r-- | ports/xframe/portfile.cmake | 22 |
2 files changed, 27 insertions, 0 deletions
diff --git a/ports/xframe/CONTROL b/ports/xframe/CONTROL new file mode 100644 index 000000000..a9b7721c1 --- /dev/null +++ b/ports/xframe/CONTROL @@ -0,0 +1,5 @@ +Source: xframe
+Version: 0.3.0 +Description: xframe is a dataframe for C++, based on xtensor and xtl.
+Homepage: https://github.com/xtensor-stack/xframe
+Build-Depends: xtensor, xtl
diff --git a/ports/xframe/portfile.cmake b/ports/xframe/portfile.cmake new file mode 100644 index 000000000..cb3111bd9 --- /dev/null +++ b/ports/xframe/portfile.cmake @@ -0,0 +1,22 @@ +# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO xtensor-stack/xframe
+ REF 0.3.0
+ SHA512 880fe8ca00bd189a197cc71e5f32539562db69433fdfa03db5f0db8211230db36eb96757a5ca3c667ae1d4edc96eae38393718e7a1e3f7c1827130cf21579b07
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/xframe)
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
