view sources/native-builds/gentoo-bootstrap/build/rsync-build @ 1252:ba951c11fb48

Refactor the gentoo bootstrap build some more. Add "build" and "files" subdirectories, split each package build into a separate file, break out reusable shell functions into functions.sh. Flow control now init chrooting into run-build-stages.sh calling the individual package scripts.
author Rob Landley <rob@landley.net>
date Sat, 25 Sep 2010 13:40:04 -0500
parents
children
line wrap: on
line source

#!/bin/sh

. /mnt/functions.sh

set_titlebar "rsync" && cp -sfR /mnt/rsync rsync && cd rsync &&

./configure --prefix=/usr &&
# Break link and touch file, otherwise ./configure tries to recreate it
# which requires perl.
cat proto.h-tstamp > proto.h.new &&
mv -f proto.h.new proto.h-tstamp &&
make -j $CPUS &&
make install &&

cd .. && rm -rf rsync || exit 1