diff options
Diffstat (limited to 'repo/devel/cmake/cmake-toolchain.xibuild')
-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 +} |