summaryrefslogtreecommitdiffstats
path: root/stage2
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2011-06-10 00:33:35 -0400
committerDJ Delorie <dj@delorie.com>2011-06-10 00:33:35 -0400
commitb27d558ac3d565ee9e8769ae7cfbdd6729d1b9d9 (patch)
tree59b00ffd4e0af3dc2c1fe683a75d9c10f3f24173 /stage2
parenta8130bb17ecab58079f5d34b2ea25a01393c6c1b (diff)
downloadbootstrap.git.DONOTUSE-b27d558ac3d565ee9e8769ae7cfbdd6729d1b9d9.tar.gz
bootstrap.git.DONOTUSE-b27d558ac3d565ee9e8769ae7cfbdd6729d1b9d9.tar.xz
bootstrap.git.DONOTUSE-b27d558ac3d565ee9e8769ae7cfbdd6729d1b9d9.zip
Stage2: ncurses, curl, m4, flex, bison, texinfo, gdb
Diffstat (limited to 'stage2')
-rwxr-xr-xstage273
1 files changed, 70 insertions, 3 deletions
diff --git a/stage2 b/stage2
index 3ce0c8d..6c21096 100755
--- a/stage2
+++ b/stage2
@@ -20,7 +20,7 @@ MYDIR=${0%/*}
STAGE2=$MYDIR/stage2
SRC=$TOP/rpmbuild/BUILD
-J=-j1
+J=-j2
BUILDDIR=$TOP/builds
@@ -74,6 +74,16 @@ case "$1" in
go clean
go cpio
+ go ncurses
+ go m4
+ go flex
+ go bison
+ go texinfo
+ go gdb
+
+ go curl
+ # go nspr # not yet
+ # go rpm # not yet
;;
@@ -90,10 +100,67 @@ case "$1" in
make $J install
;;
+ ncurses )
+ mcd $BUILDDIR/ncurses
+ $SRC/ncurses-*/configure $TCONFIGARGS \
+ --with-shared --without-ada --with-ospeed=unsigned \
+ --enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \
+ --enable-overwrite \
+ --enable-pc-files \
+ --with-termlib=tinfo \
+ --with-chtype=long \
+ --with-ticlib
+ notparallel
+ make $J
+ make $J install
+ ;;
+
+ m4 )
+ mcd $BUILDDIR/m4
+ $SRC/m4-*/configure $TCONFIGARGS
+ make $J -k
+ make $J -k install
+ ;;
+
+ flex )
+ mcd $BUILDDIR/flex
+ $SRC/flex-*/configure $TCONFIGARGS --disable-dependency-tracking
+ make $J -k
+ make $J -k install
+ ;;
+
+ bison )
+ mcd $BUILDDIR/bison
+ $SRC/bison-*/configure $TCONFIGARGS
+ make $J -k
+ make $J -k install
+ ;;
+
+ texinfo )
+ mcd $BUILDDIR/texinfo
+ $SRC/texinfo-*/configure $TCONFIGARGS
+ make $J -k
+ make $J -k install
+ ;;
+
+ gdb )
+ mcd $BUILDDIR/gdb
+ $SRC/gdb-*/configure $TCONFIGARGS --without-rpm
+ notparallel
+ make $J -k
+ make $J -k install
+ ;;
+
+ curl )
+ mcd $BUILDDIR/curl
+ $SRC/curl-*/configure $TCONFIGARGS
+ make $J
+ make $J install
+ ;;
+
nspr )
mcd $BUILDDIR/nspr
- $SRC/${1}-*/mozilla/nsprpub/configure $TCONFIGARGS --disable-debug
- notparallel
+ $SRC/nspr-*/mozilla/nsprpub/configure $TCONFIGARGS --enable-thumb2
make $J
make $J install
;;