# Exit on error:
set -e

wget http://ftpmirror.gnu.org/grep/grep-2.15.tar.xz
tar xf grep-2.15.tar.xz
cd grep-2.15

./configure \
    --prefix=/usr \
    --bindir=/bin \
    --disable-perl-regexp

make
make install

cd ..
exit 0
