All pastes #279153 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-14 21:05 UTC
rendered paste body
# Conrad Installation Guide 3.1.0 make.conf file

# <etc/make.conf>

# After reading all the commentary's in this file, you probally will want to delete them.



# Architecture Setting

# replace with your architecture

# Ex. athlon64, athlon-xp, pentium-m, and so on.

YOURARCH="pentium4"



# Hashstyle 

# Uncomment when directed in the conrad guide

LDFLAGSHASHSTYLE=" -Wl,--hash-style=both"



# Compiler Parameters

CFLAGS="-O3 -march=${YOURARCH} -frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -combine"

CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"

LDFLAGS="-Wl,-O1${LDFLAGSHASHSTYLE}"

CHOST="i686-pc-linux-gnu"



# Keywords to accept

ACCEPT_KEYWORDS="~x86"



# Setup the overlays

CONRAD_OVERLAY="/usr/local/overlays/conrad"

PORTAGE_OVERLAY="/usr/local/portage"

INITNG_OVERLAY="/usr/local/overlays/initng-portage"

LAYMAN_OVERLAY="/usr/local/overlays/layman"

source /usr/local/overlays/layman/make.conf

LEFOUS_OVERLAY="/usr/local/overlays/lefous-overlay"

NEOPORTAGE_OVERLAY="/usr/local/overlays/neoportage/trunk"

YCARUS_OVERLAY="/usr/local/overlays/ycarus"

FLUIDPORTAGE_OVERLAY="/usr/local/overlays/fluidportage/trunk"

ZUGAINA_OVERLAY="/usr/local/zugaina-portage"

XEFFECTS_OVERLAY="/usr/local/layman/xeffects"

HUNSPELLFI_OVERLAY="/usr/local/overlays/hunspell-fi"

#JAVA_OVERLAY="/usr/local/layman/java-migration-packages"

EINIT_OVERLAY="/usr/local/layman/einit"



PORTDIR_OVERLAY="${CONRAD_OVERLAY} ${PORTAGE_OVERLAY} ${INITNG_OVERLAY} ${LAYMAN_OVERLAY} \

${LEFOUS_OVERLAY} ${NEOPORTAGE_OVERLAY} ${YCARUS_OVERLAY} ${FLUIDPORTAGE_OVERLAY} \

${ZUGAINA_OVERLAY} ${XEFFECTS_OVERLAY} ${HUNSPELLFI_OVERLAY} ${JAVA_OVERLAY} ${EINIT_OVERLAY}"



# Own settings

GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo"

PORTAGE_TMPDIR="/mnt/varasto/tmp"

#LINGUAS="fi"



# Niceness and features

PORTAGE_NICENESS="10"

FEATURES="distlocks"



USE_WITH="aac acpi aiglx alsa avahi a52 beagle bonjour bzip2 cairo cdr dbus dvd dvdread exif flac gif glitz gnome gstreamer gtk hal hashstyle lame lcms libnotify jpeg jpeg2k mad mmap mmx mng mono mp3 mpeg musepack nptlonly nsplugin ogg pcmcia pdf png quicktime real rtc samba spell sse sse2 svg symlink theora tordns truetype unicode urandom vorbis win32codecs X xforms xv xvid"

USE_WITHOUT="-eds -esd -ipv6 -kde -nls -oss -qt3 -qt4 -tcpd"

USE="${USE_WITH} ${USE_WITHOUT}"



# Multiple Cores/CPUS (uncomment as necessary)

# 1 CPU: one core

MAKEOPTS="-j2"

# 1 CPU: two cores

#MAKEOPTS="-j3"

# 1 CPU: four cores

#MAKEOPTS="-j5"

# 2 CPUs: one core each

#MAKEOPTS="-j4"

# 2 CPUs: two cores each

#MAKEOPTS="-j6"

# 2 CPUs: four cores each

#MAKEOPTS="-j8"



# Input_Devices for Modular Xorg

# (nvidia-based example given)

INPUT_DEVICES="evdev joystick keyboard mouse"

VIDEO_CARDS="fglrx radeon"