tazwok view examples/tazwok.conf @ rev 320
Automated merge with http://repos.slitaz.org/tazwok-experimental
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 19 02:20:14 2011 +0100 (2011-02-19) |
parents | dd46dd15a4ef |
children | 08c39bd8d068 |
line source
1 # tazwok.conf: Tazwok configuration file.
2 #
4 # WOK_UPDATE_METHODE can be "tarball" or "hg"
5 # tarball: download the full tarball and copy it into build-wok.
6 # hg: download only the new changes, need mercurial installed.
7 WOK_UPDATE_METHOD="hg"
9 TARBALL_WOK="http://hg.slitaz.org/wok/archive/tip.tar.bz2"
10 HG_WOK="http://hg.slitaz.org/wok"
12 # Default makeflags.
13 MAKEFLAGS="-j$((`grep processor /proc/cpuinfo | wc -l`+1))"
15 # Default architecture.
16 ARCH="i486"
18 # Default build host.
19 BUILD_HOST="$ARCH-pc-linux-gnu"
21 # Default compilation flags.
22 # More details at :
23 # http://www.gentoo.org/doc/en/gcc-optimization.xml
24 # http://en.gentoo-wiki.com/wiki/Safe_Cflags
25 #
26 # Note : -pipe will be automatically disabled if you have less that
27 # 512MB of free RAM to avoid gcc crashes.
28 #
29 # Default SliTaz flags - wide compatibility & optimized for i386 as it's the
30 # slowest CPU :
31 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
32 # Where ARCH=i386
33 #
34 # Cook compatible packages partially optimized for you're own hardware :
35 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
36 # Where ARCH=you're arch
37 #
38 # Cook packages fully optimized for you're hardware - Warning, compatible only
39 # with same hardware and newest of the same family :
40 #CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
41 CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
42 CXXFLAGS="$CFLAGS"
44 # Default tool prefix.
45 TOOLPREFIX="${BUILD_HOST}-"
47 # Default arguments for GNU configure.
48 default_prefix=/usr
49 default_datarootdir=$default_prefix/share
50 default_datadir=$default_datarootdir
51 default_localedir=$default_datarootdir/locale
52 default_infodir=$default_datarootdir/info
53 default_mandir=$default_datarootdir/man
54 default_build="$BUILD_HOST"
55 default_host="$BUILD_HOST"
56 # CONFIGURE_ARGS is here only for backward compatibility.
57 CONFIGURE_ARGS="--build=$BUILD_HOST --host=$BUILD_HOST"
59 # Translation files to be included in packages. Note that you can specify
60 # several locales.
61 LOCALE="fr"
63 # Mirrors URLs. To download sources near your location.
64 # GNU mirror :
65 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
66 # SourceForge mirror :
67 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
68 # Xorg mirror :
69 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
70 # Gnome mirror :
71 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
73 # Favorite console editor.
74 EDITOR="nano"
76 # FSH standard directories with init. Package generation will abort if
77 # a file is installed in a non-specified path. Note /vz is for OpenVZ.
78 FSH="bin boot dev etc home init lib media mnt proc root sbin share sys \
79 tmp usr var vz usr/bin usr/games usr/include usr/lib usr/local usr/sbin \
80 usr/share usr/src"
82 # tazpkg compression "gzip" or "lzma".
83 COMPRESSION="lzma"
85 # Slitaz Toolchain : the tools used to compile all other packages.
86 # Toolchain packages doesn't need to be included as build_depends
87 # because they are in the chroot by default. The order in this
88 # variable is important : it's the compile order for the temporary
89 # toolchain which can be used to recook the base chroot, then all
90 # the wok. Toolchain is compiled this way according the LFS book :
91 # First - binutils, GCC; at this point they are linked to the host system.
92 # Second - the temp toolchain using the order defined in this variable.
93 # This toolchain is cross-compiled against a self-depend glibc.
94 # Third - all the wok in normal order, including the toolchain packages.
95 # This cook order is used only if glibc/binutils/gcc/linux-api-headers
96 # is updated to the next minor version or more (y.x.z -> y.x+1.z).
97 SLITAZ_TOOLCHAIN="linux-api-headers
98 glibc
99 binutils
100 gcc
101 busybox
102 ncurses
103 bash
104 bzip2
105 gawk
106 gettext
107 m4
108 make
109 patch
110 db
111 gdbm
112 zlib
113 perl
114 texinfo
115 autoconf
116 automake
117 lzma"
119 # Slitaz toolchain extra : package which are needed to cook other
120 # but which are not in the core temporary toolchain.
121 # Note : order is not important here.
122 SLITAZ_TOOLCHAIN_EXTRA="tazpkg
123 tazwok-experimental
124 pkg-config
125 libtool
126 libpthread-stubs"
128 # Cook options :
129 # Repack sources in .tar.lzma format.
130 repack_src="yes"