repo/extra/gnugrep/build

12 lines
157 B
Bash
Executable File

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