Mercurial > hg > aboriginal
annotate 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 |
rev | line source |
---|---|
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 #!/bin/sh |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 . /mnt/functions.sh |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 set_titlebar "rsync" && cp -sfR /mnt/rsync rsync && cd rsync && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 ./configure --prefix=/usr && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 # Break link and touch file, otherwise ./configure tries to recreate it |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 # which requires perl. |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 cat proto.h-tstamp > proto.h.new && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 mv -f proto.h.new proto.h-tstamp && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 make -j $CPUS && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 make install && |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 |
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.
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 cd .. && rm -rf rsync || exit 1 |