15 lines
220 B
Bash
15 lines
220 B
Bash
#!/bin/sh -e
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-static
|
|
|
|
sed -i 's/mv -v/mv/g' Makefile
|
|
|
|
make
|
|
make scp
|
|
|
|
make DESTDIR="$1" install
|
|
install -Dm755 scp "$1/usr/bin/scp"
|
|
|
|
mv "$1/usr/bin/dbclient" "$1/usr/bin/ssh"
|