source: BLFS/envars.conf@ 2180d05

ablfs
Last change on this file since 2180d05 was 63fc514, checked in by Pierre Labastie <pierre@…>, 13 years ago

Initial modificaiton of BLFS tools

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[6d0dbc3]1#####
2#
3# Configuration file for the BLFS module
4#
5# $Id$
6#
[f65d3cb]7# Set default envars used in the build scripts
[6d0dbc3]8#
9#####
10
[ecdc3b6]11#======== Common envars ==========
[6d0dbc3]12
[4a33ef0]13#--- Set a well-known working locale when building software
14export LC_ALL=C
15
[6d0dbc3]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.
[63fc514]19export SRC_ARCHIVE=/sources
[6d0dbc3]20
[f65d3cb]21#--- Server used if the file isn't found in SRC_ARCHIVE.
[6d0dbc3]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/
[f65d3cb]27
[63fc514]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/
[f65d3cb]30
31#--- The sources directory.
32# Full path to the top level directory where packages will be stored,
33# unpacked, and compiled.
[63fc514]34export SRC_DIR=/sources
[ecdc3b6]35
36
37#======== Xorg7 envars ===========
38
39#--- Installation prefix
40export XORG_PREFIX=/usr
41
42#--- Configure switches
[0a1c668]43export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var"
[ecdc3b6]44
45#======== GNOME envars ===========
46
47#--- Installation prefix
48export GNOME_PREFIX=/usr
49
50#--- If you want to install GNOME on a non standart prefix, uncomment
51# the next export lines and edit it if needed.
52# See also the GNOME Pre-installation Configuration HTML page for
53# aditional required commands.
54#export PATH=$PATH:$GNOME_PREFIX/bin
55#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$GNOME_PREFIX/lib/pkgconfig
56#export GNOME_LIBCONFIG_PATH=/usr/lib:$GNOME_PREFIX/lib
57
58#======== KDE envars =============
59
60#--- Installation prefix
61export KDE_PREFIX=/usr
62
63#--- If you want to install KDE on a non standart prefix, uncomment
64# the next export lines and edit it if needed.
65# See also the KDE Pre-installation Configuration HTML page for
66# aditional required commands.
67#export PATH=$PATH:$KDE_PREFIX/bin
[0140fcc]68#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$KDE_PREFIX/lib/pkgconfig
[ecdc3b6]69
70
[fdd3b04]71
72#======== Optimizations =============
73
74# Global optimization settings can be placed here. This settings can be
75# overrided by settings in the packages build scripts.
76
77# WARNING: The use of build optimizations may be dangerous.
78# You should know what you are doing and be sure that the
79# optimization settings placed below are what you want.
80# It there are build issues or the system doesn't work as
81# expected, please rebuild without optimizations before
82# asking for support.
83
[63fc514]84export MAKEFLAGS="-j5"
[fdd3b04]85
[4a33ef0]86#export CFLAGS="-O3 -pipe"
87#export CXXFLAGS=$CFLAGS
88#export LDFLAGS="-s"
[fdd3b04]89
[4a33ef0]90#export OTHER_CFLAGS=$CFLAGS
91#export OTHER_CXXFLAGS=$CXXFLAGS
92#export OTHER_LDFLAGS=$LDFLAGS
[fdd3b04]93
Note: See TracBrowser for help on using the repository browser.