kiss-mfavila-large/ports/unofficial/stable/gnugrep/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"