view sources/native-builds/lfs-bootstrap/mnt/build/readline.sh @ 1269:7a60afa1846c

More tweaks to bootstrap-skeleton, implement the first half of lfs-bootstrap for Linux From Scratch 6.7 against the new infrastructure, and tweak gentoo build to stay current with bootstrap-skeleton changes. (Now more common infrastructure, and requires package-list file.)
author Rob Landley <rob@landley.net>
date Sun, 24 Oct 2010 04:17:15 -0500
parents
children
line wrap: on
line source

#!/bin/sh

sed -k '/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