Created
July 12, 2011 11:19
-
-
Save mongrelP/1077798 to your computer and use it in GitHub Desktop.
01_setting.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
hash -r #if use csh : rehash | |
emerge --oneshot sed | |
emerge --oneshot --nodeps bash | |
emerge --oneshot wget | |
emerge --oneshot --nodeps baselayout-prefix | |
emerge --oneshot --nodeps xz-utils | |
emerge --oneshot --nodeps m4 | |
emerge --oneshot --nodeps flex | |
emerge --oneshot --nodeps bison | |
emerge --oneshot --nodeps binutils-config | |
emerge --oneshot --nodeps binutils | |
emerge --oneshot --nodeps gcc-config | |
emerge --oneshot --nodeps "=gcc-4.2*" | |
emerge --oneshot coreutils findutils tar grep patch gawk make | |
emerge --oneshot --nodeps file | |
emerge --oneshot --nodeps eselect | |
emerge --oneshot pax-utils | |
USE="-nls" emerge --oneshot texinfo | |
emerge -uaDNv rsync | |
FEATURES="-collision-protect" emerge --oneshot --newuse portage | |
#rm -vrf $EPREFIX/tmp/* #消すとうまく動かない? | |
hash -r #if use csh : rehash | |
emerge --sync | |
echo 'USE="unicode nls cjk"' >> $EPREFIX/etc/make.conf | |
echo 'CFLAGS="-O2 -pipe"' >> $EPREFIX/etc/make.conf | |
echo 'CXXFLAGS="${CFLAGS}"' >> $EPREFIX/etc/make.conf | |
echo 'LINGUAS="ja en"' >> $EPREFIX/etc/make.conf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment