Mercurial > hg > control-images
diff images/lfs-bootstrap/mnt/build/mpfr.sh @ 0:bcd2e358d57f
Start by copying the existing control image building infrastructure from Aboriginal Linux, and shuffling the layout around a bit.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 03 Jul 2011 17:23:26 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/images/lfs-bootstrap/mnt/build/mpfr.sh Sun Jul 03 17:23:26 2011 -0500 @@ -0,0 +1,19 @@ +#!/bin/sh + +# TODO: The --enable-thread-safe here requires TLS + +./configure --prefix=/usr --docdir=/usr/share/doc/mpfr-3.0.0 && +make -j $CPUS || exit 1 + +if [ ! -z "$CHECK" ] +then + make check || exit 1 +fi + +make install || exit 1 + +if [ ! -z "$DOCS" ] +then + make html && + make install-html +fi