diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 23:40:38 +0100 |
commit | 0b977787374349328a21af0deade30d534cf3978 (patch) | |
tree | 3c2be28ef9a6f74a36f21cd48a34cb06b3080960 /repo/devel/cmake | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
fixed gcc loader/linker errors
Diffstat (limited to 'repo/devel/cmake')
-rw-r--r-- | repo/devel/cmake/cmake-toolchain.xibuild | 34 |
1 files changed, 34 insertions, 0 deletions
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 +} |