#!/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"