view sources/control-images/lfs-bootstrap/mnt/build/readline.sh @ 1283:ba8e5317049c

More chipping away at the LFS build. Add basic locale support to uClibc config and hit gettext about the head and shoulders with sed until it compiles despite autoconf still being utterly useless.
author Rob Landley <rob@landley.net>
date Thu, 11 Nov 2010 04:50:39 -0600
parents a4cb2ed0a551
children c054a7a36cd9
line wrap: on
line source

#!/bin/sh

sed -i '/MV.*old/d' Makefile.in &&
sed -i '/{OLDSUFF}/c:' support/shlib-install &&
./configure --prefix=/usr --libdir=/lib &&
make -j $CPUS SHLIB_LIBS=-lncurses &&
make install  || exit 1

if [ ! -z "$DOCS" ]
then
  mkdir /usr/share/doc/readline &&
  install -m644 doc/*.ps doc/*.pdf doc/*.html doc/*.dvi \
    /usr/share/doc/readline
fi