repo/extra/gnugrep/build
2021-06-30 14:49:45 +00:00

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"