tazwok view examples/tazwok.conf @ rev 532

Merge bug fixes from default branch.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 23 20:45:06 2011 +0000 (2011-05-23)
parents 71bd653c6023 96e075e9995a
children 5dbe2cc5a2e1
line source
1 # tazwok.conf: Tazwok configuration file.
2 #
4 # WOK_UPDATE_METHOD can be "tarball" or "hg"
5 # tarball: download the full tarball and copy it into build-wok.
6 # hg: download only the new changes, needs mercurial installed.
7 WOK_UPDATE_METHOD="hg"
9 TARBALL_WOK="$MIRROR/wok.tar.lzma"
10 HG_WOK="http://hg.slitaz.org/wok"
12 # save_wok: Save receipts known to compile well.
13 # It will generate the saved woks into packages and packages-incoming,
14 # containing cooking stuff used to compile packages on theses repositories.
15 # To disable it, comment the variable definition.
16 # If save_wok="tarball", a wok.taz.lzma will be generated each time you
17 # succefully check-incoming.
18 save_wok=yes
20 # Use an online repository to get packages instead of one
21 # you builded yourself / you rsyncked.
22 #
23 # Note: you should enable this on a repo per repo basis,
24 # you probably don't want to set this globally.
25 # You can put particular configuration into LOCAL_REPOSITORY/tazwok.conf
26 # You don't need to copy the whole config: the variable definition alone
27 # is enough as all other datas will be get from global config.
28 # USE_ONLINE_PKG="$MIRROR"
30 # Default makeflags.
31 MAKEFLAGS="-j$((`grep processor /proc/cpuinfo | wc -l`+1))"
33 # Default architecture.
34 ARCH="i486"
36 # Build and host. These options are for cross-compiling. If you specify
37 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
38 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
39 BUILD_SYSTEM="$(uname -m)-slitaz-linux"
40 #BUILD_SYSTEM="$ARCH-slitaz-linux"
41 HOST_SYSTEM="$ARCH-slitaz-linux"
43 # Default build host.
44 BUILD_HOST="$HOST_SYSTEM"
46 # Default compilation flags.
47 # More details at :
48 # http://www.gentoo.org/doc/en/gcc-optimization.xml
49 # http://en.gentoo-wiki.com/wiki/Safe_Cflags
50 #
51 # Note : -pipe will be automatically disabled if you have less than
52 # 512MB of free RAM to avoid gcc crashes.
53 #
54 # Default SliTaz flags - wide compatibility & optimized for i386 as it's the
55 # slowest CPU :
56 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
57 # Where ARCH=i386
58 #
59 # Cook compatible packages partially optimized for your own hardware :
60 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
61 # Where ARCH=your arch
62 #
63 # Cook packages fully optimized for your hardware - Warning, compatible only
64 # with same hardware and newest of the same family :
65 #CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
66 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
67 CFLAGS="-march=$ARCH -0s -pipe -fomit-frame-pointer"
68 CXXFLAGS="$CFLAGS"
70 # Default tool prefix.
71 TOOLPREFIX="${HOST_SYSTEM}-"
73 # CONFIGURE_ARGS is here only for backward compatibility.
74 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
76 # Translation files to be included in packages. Note that you can specify
77 # several locales.
78 LOCALE="fr"
80 # Mirrors URLs. To download sources near your location.
81 # GNU mirror :
82 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
83 # SourceForge mirror :
84 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
85 # Xorg mirror :
86 XORG_MIRROR="http://xorg.freedesktop.org/releases/individual"
87 # Gnome mirror :
88 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
90 # Favorite console editor.
91 EDITOR="nano"
93 # FSH standard directories with init. Package generation will abort if
94 # a file is installed in a non-specified path. Note /vz is for OpenVZ.
95 FSH="bin boot dev etc home init lib media mnt proc root sbin share sys \
96 tmp usr run run/udev var vz usr/bin usr/games usr/include usr/lib usr/local usr/sbin \
97 usr/share usr/src"
99 # tazpkg compression "gzip" or "lzma".
100 COMPRESSION="lzma"
102 # Slitaz Toolchain : the tools used to compile all other packages.
103 # Toolchain packages don't need to be included as build_depends
104 # because they are in the chroot by default. The order in this
105 # variable is important : it's the compile order for the temporary
106 # toolchain which can be used to recook the base chroot, then all
107 # the wok. Toolchain is compiled this way according to the LFS book :
108 # First - binutils, GCC; at this point they are linked to the host system.
109 # Second - the temp toolchain using the order defined in this variable.
110 # The toolchain is cross-compiled against a self-depending glibc.
111 # Third - all the wok in normal order, including the toolchain packages.
112 # This cook order is used only if glibc/binutils/gcc/linux-api-headers
113 # are updated to the next minor version or more (y.x.z -> y.x+1.z).
114 SLITAZ_TOOLCHAIN="linux-api-headers
115 glibc
116 binutils
117 gcc
118 busybox
119 ncurses
120 bash
121 bzip2
122 gawk
123 gettext
124 m4
125 make
126 patch
127 db
128 gdbm
129 zlib
130 perl
131 texinfo
132 autoconf
133 automake
134 lzma"
136 # Slitaz toolchain extra : packages which are needed to cook others
137 # but which are not in the core temporary toolchain.
138 # Note : order is not important here.
139 SLITAZ_TOOLCHAIN_EXTRA="tazpkg
140 tazwok
141 pkg-config
142 libtool
143 libpthread-stubs"
145 # Cook options :
146 # Repack sources in .tar.lzma format.
147 repack_src="yes"