openpkg/buildquick.sh

Wed, 30 Mar 2011 19:35:16 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 30 Mar 2011 19:35:16 +0200
changeset 335
6eb79a12ee37
parent 251
5e1bf50b6e48
child 345
b7180006bcf1
permissions
-rw-r--r--

Finally correct packaging logic enough to allow for successful building:
Force Java dependency to C++ and POSIX threads to satisfy buildtime
requirements of GCJ, add conditional java dependency to infozip as
required by libjava/configure, remove outdated fortran conditions,
correct buildconf causing jcf-dump target to fail, add and improve
warnings regarding profile feedback, build duration, and parallel
make, correct make environment when building C++ dependent languages,
and introduce new helpful comments.

michael@251 1 #! /bin/sh
michael@251 2
michael@251 3 #
michael@251 4 # Build a new bootstrap package,
michael@251 5 # producing openpkg-<date>-<date>.src.sh
michael@251 6 #
michael@251 7 TOPDIR=opkg
michael@251 8 TOPUSE=opkg
michael@251 9 BASEID=200
michael@253 10 time ./openpkg.boot -bs --prefix=/$TOPDIR \
michael@253 11 --tag=$TOPDIR --user=$TOPUSE --group=$TOPUSE \
michael@251 12 --muid=${BASEID}1 --ruid=${BASEID}2 --nuid=${BASEID}3 \
michael@251 13 --mgid=${BASEID}1 --rgid=${BASEID}2 --ngid=${BASEID}3
michael@251 14 --use_tar=/$TOPDIR/bin/tar --use_make=/$TOPDIR/bin/make \
michael@251 15 --use_cc=/$TOPDIR/bin/cc --use_ar=/$TOPDIR/bin/ar \
michael@251 16 --use_ld=/$TOPDIR/bin/ld --use_as=/$TOPDIR/bin/as \
michael@251 17 --use_strip=/$TOPDIR/bin/strip \
michael@251 18 2>&1 | tee buildlog.txt

mercurial