kiss-mfavila-small/community-mod/stable/mawk/build

12 lines
175 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
# Enable alternatives.
ln -s mawk "$1/usr/bin/awk"
ln -s mawk.1 "$1/usr/share/man/man1/awk.1"