repo/extra/gnugrep/build
2023-03-05 17:34:06 -06: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"