comparison sources/native-builds/gentoo-bootstrap/build/zlib-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
comparison
equal deleted inserted replaced
1251:204238871b7c 1252:ba951c11fb48
1 #!/bin/sh
2
3 . /mnt/functions.sh
4
5 set_titlebar "zlib" && cp -sfR /mnt/zlib zlib && cd zlib &&
6
7 # 1.2.5 accidentally shipped the Makefile, then configure tries to
8 # modify it in place.
9 rm Makefile &&
10 ./configure --prefix=/usr &&
11 make -j $CPUS &&
12 make install &&
13
14 cd .. && rm -rf zlib || exit 1