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

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --enable-static

make
make DESTDIR="$1" install

ln -s dbclient "$1/usr/bin/ssh"

# Install user services
clsv -d "$1" -a dropbear run