summaryrefslogtreecommitdiffhomepage
path: root/groups.d/010.host_deps.d/cmake_host.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/010.host_deps.d/cmake_host.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/010.host_deps.d/cmake_host.package')
-rw-r--r--groups.d/010.host_deps.d/cmake_host.package14
1 files changed, 14 insertions, 0 deletions
diff --git a/groups.d/010.host_deps.d/cmake_host.package b/groups.d/010.host_deps.d/cmake_host.package
new file mode 100644
index 00000000..bc6f9efb
--- /dev/null
+++ b/groups.d/010.host_deps.d/cmake_host.package
@@ -0,0 +1,14 @@
+: ${PKG_CMAKE_HOST_DEPENDS:="bzip2_host musl_fts_host ncurses_host"};
+: ${PKG_CMAKE_HOST_SHA256SUM:=dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0};
+: ${PKG_CMAKE_HOST_VERSION:=3.7.2};
+: ${PKG_CMAKE_HOST_URL:=https://cmake.org/files/v${PKG_CMAKE_HOST_VERSION%.*}/cmake-${PKG_CMAKE_HOST_VERSION}.tar.gz};
+: ${PKG_CMAKE_HOST_CONFIGURE_TYPE:="cmake"};
+: ${PKG_CMAKE_HOST_CMAKE_ARGS_EXTRA:="
+ -DCURSES_NCURSES_LIBRARY=${PREFIX}/lib/libncurses.so
+ -DLIBMD_LIBRARY=
+"};
+: ${PKG_CMAKE_HOST_INSTALL_FILES_V2:="+../cmake-${PKG_CMAKE_HOST_VERSION}/Modules/Platform/BSDOS.cmake=share/cmake-${PKG_CMAKE_HOST_VERSION%.*}/Modules/Platform/Midipix.cmake"};
+
+ex_pkg_register "cmake_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_deps";
+
+# vim:filetype=sh textwidth=0