From 0b977787374349328a21af0deade30d534cf3978 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 18 May 2022 23:40:38 +0100 Subject: fixed gcc loader/linker errors --- repo/devel/cmake/cmake-toolchain.xibuild | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/devel/cmake/cmake-toolchain.xibuild (limited to 'repo/devel/cmake/cmake-toolchain.xibuild') diff --git a/repo/devel/cmake/cmake-toolchain.xibuild b/repo/devel/cmake/cmake-toolchain.xibuild new file mode 100644 index 0000000..44e8535 --- /dev/null +++ b/repo/devel/cmake/cmake-toolchain.xibuild @@ -0,0 +1,34 @@ +#!/bin/sh + +MAKEDEPS="make" +DEPS="musl" + +DESC="$DESC - xilinux toolchain version" + +prepare () { + export CMARGS=" + -DCMAKE_USE_OPENSSL=OFF + -DBUILD_CursesDialog=ON + " +} + + +build () { + ./bootstrap --prefix=/usr \ + --no-system-jsoncpp \ + --no-system-librhash \ + --no-system-curl \ + --no-system-libarchive \ + --no-system-nghttp2 \ + --no-system-expat \ + --no-system-zlib \ + --no-system-zstd \ + --no-system-libuv \ + -- ${CMARGS} + make +} + +package () { + echo $PKG_DEST + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1