view images/lfs-bootstrap/mnt/build/gawk.sh @ 24:6f975a65fe1d

Fixes for uClibc 0.9.33.1.
author Rob Landley <rob@landley.net>
date Thu, 19 Apr 2012 00:10:54 -0500
parents bcd2e358d57f
children
line wrap: on
line source

#!/bin/sh

./configure --prefix=/usr --libexecdir=/usr/lib &&
make -j $CPUS || exit 1

if [ ! -z "$CHECK" ]
then
  make check || exit 1
fi

make install || exit 1

if [ ! -z "$DOCS" ]
then
  mkdir /usr/share/doc/gawk &&
  cp doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg /usr/share/doc/gawk
fi