source: BLFS/envars.conf@ eabc205

ablfs
Last change on this file since eabc205 was 12fb268, checked in by Pierre Labastie <pierre@…>, 12 years ago

Change BLFS tools envars.conf to reflect removal of KDE3:
change all KDE4_XXX variables to KDE_XXX

  • Property mode set to 100644
File size: 3.8 KB
Line 
1#####
2#
3# Configuration file for the BLFS module
4#
5# $Id$
6#
7# Set default envars used in the build scripts
8#
9#####
10
11#======== Common envars ==========
12
13#--- Set a well-known working locale when building software
14export LC_ALL=C
15
16#--- The local repository for packages/file
17# Any missing file will be downloaded and archived here,
18# if the user has the right priviledges.
19export SRC_ARCHIVE=/sources
20
21#--- Server used if the file isn't found in SRC_ARCHIVE.
22# As a last resort, the file will dowloaded from upstream, if possible.
23#
24# The server path MUST be set as listed in
25# http://www.linuxfromscratch.org/blfs/download.html
26export FTP_SERVER=ftp://anduin.linuxfromscratch.org/BLFS/
27
28# Use a server close to you for Xorg (see http://wiki.x.org/wiki/Mirrors)
29export FTP_X_SERVER=ftp://mirror.cict.fr/x.org/
30
31#--- The sources directory.
32# Full path to the top level directory where packages will be stored,
33# unpacked, and compiled.
34export SRC_DIR=/sources
35
36
37#======== Xorg7 envars ===========
38
39#--- Installation prefix
40export XORG_PREFIX=/usr
41
42#--- Configure switches
43export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
44
45#======== GNOME envars ===========
46
47# Refer to `Chapter 33. GNOME Core Packages->Pre-installation Configuration'
48# for rationale. We use envars.conf instead of /etc/profile.d. But if you
49# install into a different prefix, you'll need to update ld.so.conf and
50# man-db.conf, too.
51
52#--- Installation prefix
53export GNOME_PREFIX=/usr
54export GNOME_SYSCONFDIR=/etc/gnome/3.2.2
55export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg
56export XDG_DATA_DIRS=/usr/share:/usr/local/share
57
58#--- If you want to install GNOME on a non standart prefix, uncomment
59# the next export lines and edit it if needed.
60# See also the GNOME Pre-installation Configuration HTML page for
61# aditional required commands.
62#export PATH=$PATH:$GNOME_PREFIX/bin
63#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig
64#export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
65
66#======== KDE envars =============
67
68# Refer to `Chapter 27. Introduction->KDE Pre-installation Configuration'
69# for rationale. We use envars.conf instead of /etc/profile.d. But if you
70# install into a different prefix, you'll need to update ld.so.conf and
71# man-db.conf, too.
72
73#--- Installation prefix
74export KDE_PREFIX=/usr
75
76#--- If you want to install KDE on a non standard prefix, uncomment
77# the next lines and edit them it as needed.
78#KDE_PREFIX=/opt/kde
79#KDEDIR=$KDE_PREFIX
80
81#PATH=$PATH:$KDE_PREFIX/bin
82#if [ -z PKG_CONFIG_PATH ]; then
83# PKG_CONFIG_PATH=$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
84#else
85# PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig:$KDE_PREFIX/share/pkgconfig
86#fi
87#if [ -z XDG_DATA_DIRS ]; then
88# XDG_DATA_DIRS=$KDE_PREFIX/share
89#else
90# XDG_DATA_DIRS=$XDG_DATA_DIRS:$KDE_PREFIX/share
91#fi
92#if [ -z XDG_CONFIG_DIRS ]; then
93# XDG_CONFIG_DIRS=/etc/kde/xdg
94#else
95# XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/kde/xdg
96#fi
97
98#export KDE_PREFIX KDEDIR KDEDIR
99
100#======== Optimizations =============
101
102# Global optimization settings can be placed here. This settings can be
103# overrided by settings in the packages build scripts.
104
105# WARNING: The use of build optimizations may be dangerous.
106# You should know what you are doing and be sure that the
107# optimization settings placed below are what you want.
108# It there are build issues or the system doesn't work as
109# expected, please rebuild without optimizations before
110# asking for support.
111
112export MAKEFLAGS="-j5"
113
114#export CFLAGS="-O3 -pipe"
115#export CXXFLAGS=$CFLAGS
116#export LDFLAGS="-s"
117
118#export OTHER_CFLAGS=$CFLAGS
119#export OTHER_CXXFLAGS=$CXXFLAGS
120#export OTHER_LDFLAGS=$LDFLAGS
121
122#======== Environment settings ========
123
124# Since the startup files may be changed in the course
125# of a build, ensure that environment variables are
126# up to date
127
128source /etc/profile
Note: See TracBrowser for help on using the repository browser.