kiss-mfavila-small/ports/net-tools/build

16 lines
306 B
Plaintext
Raw Normal View History

#!/bin/sh -e
# Change the SBINDIR and BINDIR to /usr/bin to keep kiss happy
2021-05-11 00:07:37 -04:00
sed -i 's/\/bin/\/usr\/bin/' Makefile
sed -i 's/\/sbin/\/usr\/bin/' Makefile
ssu ./configure.sh config.in
make
make DESTDIR="$1" install
2021-06-06 18:36:04 -04:00
for bin in route
do chmod 6770 "$1/usr/bin/$bin"
chgrp network "$1/usr/bin/$bin"
done