Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1856475
  • 博文数量: 473
  • 博客积分: 13997
  • 博客等级: 上将
  • 技术积分: 5953
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-22 11:52
文章分类

全部博文(473)

文章存档

2014年(8)

2013年(38)

2012年(95)

2011年(181)

2010年(151)

分类: LINUX

2010-10-01 21:41:32

CFLAGS="-O2 -pipe -march=core2"
CXXFLAGS="${CFLAGS}"

#CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"
#CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -msse2"

CHOST="i686-pc-linux-gnu"

MAKEOPTS="-j2"
PORTAGE_RSYNC_INITIAL_TIMEOUT=30

LDFLAGS="-Wl,-O2,--as-needed"

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="Broadcom license dlj-1.1 IBM-J1.5 PUEL AdobeFlash-10.1"

USE="mikmod -qt3 aalib addtions win32codecs quicktime nsplugin custom-optimization java vim-syntax hal laptop xosd xvid matroska x264 -cpudetection srt rtsp wmp realmedia xcb real fbcon curl -webkit accessibility -networkmanager symlink -ldap -spell -kde -eds -kerberos gd magic xulrunner clickurl -nls pch newspr subversion git -gnome-keyring pinyin -cups lyrics taglib -gstreamer midi sqlite mdnsresponder-compat avahi nptl network dvdread ithreads mmx sse sse2 sse3 X a52 aac acpi alsa bash-completion bluetooth bzip2 cdda cddb cdparanoia cdr cjk dts dvd encode exif ffmpeg flac fontconfig ftp gif iconv ipv6 jabber javascript jpeg lame libnotify mime mp3 mpeg msn ogg pdf qt4 rdesktop theora truetype unicode usb v4l2 vorbis opengl nvidia qq png dbus svg dvdr -gnome -gtk immqt-bc xvmc -fortran rar cdio skins stream vlm gtk -slit -dri -acl"
MAKEOPTS="-j5"

CC="distcc gcc"
PATH="/usr/lib/ccache/bin:/usr/lib/distcc/bin:${PATH}"

FEATURES="distcc sandbox collision-protect metadata-transfer parallel-fetch buildpkg buildsyspkg"
#DISTCC_HOSTS="localhost 203.148.3.75 192.168.2.213"

GENTOO_MIRRORS="ftp://openware.byr.edu.cn/pub/mirror/gentoo/gentoo"  
GENTOO_MIRRORS="${GENTOO_MIRRORS} "
GENTOO_MIRRORS="${GENTOO_MIRRORS} "
GENTOO_MIRRORS="${GENTOO_MIRRORS} "
GENTOO_MIRRORS="${GENTOO_MIRRORS} "


#网通
#GENTOO_MIRRORS=""
#SYNC="rsync://61.135.158.199/gentoo-portage"
#电信
#GENTOO_MIRRORS=" ftp://gentoo.anheng.com.cn/gentoo"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo"
#SYNC="rsync://ftp.ncnu.edu.tw/gentoo/gentoo-portage"
#SYNC="rsync://linux.ntcu.net/gentoo-portage"
#SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
#SYNC="rsync://mirror.averse.net/gentoo-portage"
#SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
#SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
#SYNC="rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#教育网
#GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
#SYNC="rsync://ftp3.tsinghua.edu.cn/gentoo/gentoo-portage"

#http_proxy="proxy.ipv6.uni-leipzig.de:3128"
#ftp_proxy="proxy.ipv6.uni-leipzig.de:3128"
EMERGE_DEFAULT_OPTS="-av --keep-going"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse synaptics"
LINGUAS="en zh zh_CN"
#CONFIG_PROTECT="-*"
ACCEPT_KEYWORDS="~x86"
PORTAGE_RSYNC_EXTRA_OPTS="-6"
#SYNC="rsync://gentoo.cs.nctu.edu.tw/gentoo-portage"
SYNC="rsync://gentoo.mirror.ipv6.e-utp.net/gentoo-portage"
#SYNC="rsync://gentoo.tom.com/gentoo-portage"
#SYNC="rsync://91.186.30.235/gentoo-portage"
#SYNC="rsync://ftp3.tsinghua.edu.cn/gentoo/gentoo-portage"
 
 
#DISTDIR="/home/yegle/temp/distfiles"
#PORTAGE_TMPDIR="/home/yegle/temp"
#BUILD_PREFIX="/home/yegle/temp/portage"

FETCHCOMMAND="/usr/bin/axel -a -N -n 5 -o /\${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/axel -a -N -n 5 -o /\${DISTDIR}/\${FILE} \${URI}"

LINGUAS="zh_CN"
LANGUAGE="zh_CN.UTF-8:zh_CN:zh_CN.GBK:en_US:en_US.UTF-8"

CCACHE_SIZE="1G"
CCACHE_DIR="/usr/local/ccache/"
ALSA_CARDS="hda-intel intel8x0 intel8x0m"
VIDEO_CARDS="i810"
INPUT_DEVICES="keyboard synaptics mouse evdev"
FOO2ZJS_DEVICES="hp1020 hp1018"
PORTDIR_OVERLAY="/usr/local/portage"
source /usr/local/portage/layman/make.conf

CLEAN_DELAY=3
EMERGE_WARNING_DELAY=5
AUTOCLEAN="yes"

#FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
#RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""

################################################



USE="avahi cjk zeroconf xvid win32codecs v4l2 vnc startup-notification \
     samba mplayer dri X dio directfb curl crypt -bluetooth 3dfx avi \
     bash-completion -esd encode fbcon fdftk ffmpeg flac \
     foomaticdb ftp gif gnutls gpm gstreamer gtk2 ieee1394 imlib -jack \
     java javascript jpeg kerberos lirc mp3 matroska motif mad mpeg \
     msn ncurses nls ogg opengl oggvorbis pam png python quicktime \
     sharedmem sqlite ssl -pcmcia -bmp -arts -ipv6 gtk -gnome qt3 \
     qt4 -kde dbus hal xscreensaver dvd alsa cdr acpi truetype \
     tcpd tiff usb unicode vorbis wxwindows xinerama xml2 -xmms xosd \
     xv zlib tcltk doc mmx sse sse2 ssse3 laptop disk-partition"

 
阅读(2229) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~