kiss-mfavila-small/ports/official/core/gnu-grep/build

12 lines
166 B
Bash
Executable File

#!/bin/sh -e
export CFLAGS="$CFLAGS -Wno-error -static"
./configure \
--prefix=/usr
make
make DESTDIR="$1" install
install -Dm755 src/grep "$1/usr/bin/ggrep"