summaryrefslogtreecommitdiff
path: root/repo/devel/cmake/cmake-toolchain.xibuild
blob: 44e85355068f17f675eb24c00f4ebf01975912cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 
}