aboutsummaryrefslogtreecommitdiff
path: root/extra/kbd/build
blob: 85e4c946df80d135b454420b538731e8a78193fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

export CC="${CC:-cc} --static"

./configure \
    --prefix=/usr \
    --disable-vlock \
    --disable-nls \
    --enable-shared=no \
    --disable-tests

find . -name Makefile -exec sed -i 's/gunzip/gzip -d/' {} \;

make
make DESTDIR="$1" install