repo/extra/gnugrep/build
2021-07-01 16:52:05 +00:00

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"