aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xframe
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/xframe')
-rw-r--r--vcpkg/ports/xframe/portfile.cmake21
-rw-r--r--vcpkg/ports/xframe/vcpkg.json19
2 files changed, 40 insertions, 0 deletions
diff --git a/vcpkg/ports/xframe/portfile.cmake b/vcpkg/ports/xframe/portfile.cmake
new file mode 100644
index 0000000..6ca3a00
--- /dev/null
+++ b/vcpkg/ports/xframe/portfile.cmake
@@ -0,0 +1,21 @@
+# 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_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(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)
diff --git a/vcpkg/ports/xframe/vcpkg.json b/vcpkg/ports/xframe/vcpkg.json
new file mode 100644
index 0000000..f6c4e73
--- /dev/null
+++ b/vcpkg/ports/xframe/vcpkg.json
@@ -0,0 +1,19 @@
+{
+ "name": "xframe",
+ "version": "0.3.0",
+ "port-version": 3,
+ "description": "xframe is a dataframe for C++, based on xtensor and xtl.",
+ "homepage": "https://github.com/xtensor-stack/xframe",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
+ "xtensor",
+ "xtl"
+ ]
+}