kiss-mfavila-small/ports/ctwm-git/build

16 lines
373 B
Bash
Executable File

#!/bin/sh -e
export DESTDIR="$1"
export CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200809L"
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DUSE_XPM=ON \
-DUSE_EWMH=TRUE \
-DUSE_XRANDR=TRUE
cmake --build build
cmake --install build