summaryrefslogtreecommitdiff
blob: d494a364713a44bb73269f76a381b08f64e3fc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

LIST=$1

myGETTEXT=`grep "sys-devel/gettext" $1`
myBINUTILS=`grep "sys-devel/binutils" $1`
myGCC=`grep "sys-devel/gcc" $1`
myGLIBC=`grep "sys-libs/glibc" $1`

echo "Using BINUTILS $myBINUTILS"
echo "Using GCC $myGCC"
echo "Using GETTEXT $myGETTEXT"
echo "Using GLIBC $myGLIBC"

export USE="build"
export STEPS="clean unpack compile install qmerge clean" 
cd /usr/portage
ebuild $myBINUTILS $STEPS || exit
ebuild $myGCC $STEPS || exit
ebuild $myGETTEXT $STEPS || exit
unset USE
export USE="`python -c 'import portage; print portage.settings["USE"];'` bootstrap"
ebuild $myGLIBC $STEPS || exit
ebuild $myGETTEXT $STEPS || exit
ebuild $myBINUTILS $STEPS || exit
ebuild $myGCC $STEPS || exit
unset USE