tazwok view examples/tazwok.conf @ rev 554
Compatibility fix for $install variable in compile_rules
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Mar 11 19:13:46 2012 +0100 (2012-03-11) |
parents | 5dbe2cc5a2e1 44e24b12e9dd |
children |
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 # This one make compilation use all cpu when possible, and have
32 # priority hover other processes.
33 # MAKEFLAGS="-j$((`grep processor /proc/cpuinfo | wc -l`+1))"
34 # This one makes use of all cpu but without priority, so if you
35 # run something else it can run smoothly even while compiling.
36 MAKEFLAGS="-j`grep processor /proc/cpuinfo | wc -l`"
38 # Default architecture.
39 ARCH="i486"
41 # Build and host. These options are for cross-compiling. If you specify
42 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
43 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
44 BUILD_SYSTEM="$ARCH-pc-linux-gnu"
45 HOST_SYSTEM="$ARCH-pc-linux-gnu"
47 # Default compilation flags.
48 # More details at :
49 # http://www.gentoo.org/doc/en/gcc-optimization.xml
50 # http://en.gentoo-wiki.com/wiki/Safe_Cflags
51 #
52 # Note : -pipe will be automatically disabled if you have less than
53 # 512MB of free RAM to avoid gcc crashes.
54 #
55 # Default SliTaz flags - wide compatibility & optimized for i386 as it's the
56 # slowest CPU :
57 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
58 # Where ARCH=i386
59 #
60 # Cook compatible packages partially optimized for your own hardware :
61 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
62 # Where ARCH=your arch
63 #
64 # Cook packages fully optimized for your hardware - Warning, compatible only
65 # with same hardware and newest of the same family :
66 #CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
67 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
68 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
69 CXXFLAGS="$CFLAGS"
71 # Default tool prefix.
72 TOOLPREFIX="${HOST_SYSTEM}-"
74 # CONFIGURE_ARGS is here only for backward compatibility.
75 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
77 # Translation files to be included in packages. Note that you can specify
78 # several locales.
79 LOCALE="fr"
81 # Mirrors URLs. To download sources near your location.
82 # GNU mirror :
83 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
84 # SourceForge mirror :
85 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
86 # Xorg mirror :
87 XORG_MIRROR="http://xorg.freedesktop.org/releases/individual"
88 # Gnome mirror :
89 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
91 # Favorite console editor.
92 EDITOR="nano"
94 # FSH standard directories with init. Package generation will abort if
95 # a file is installed in a non-specified path. Note /vz is for OpenVZ.
96 FSH="bin boot dev etc home init lib media mnt proc root sbin share sys \
97 tmp usr run run/udev var vz usr/bin usr/games usr/include usr/lib usr/local usr/sbin \
98 usr/share usr/src"
100 # tazpkg compression "gzip" or "lzma".
101 COMPRESSION="lzma"
103 # Slitaz Toolchain : the tools used to compile all other packages.
104 # Toolchain packages don't need to be included as build_depends
105 # because they are in the chroot by default. The order in this
106 # variable is important : it's the compile order for the temporary
107 # toolchain which can be used to recook the base chroot, then all
108 # the wok. Toolchain is compiled this way according to the LFS book :
109 # First - binutils, GCC; at this point they are linked to the host system.
110 # Second - the temp toolchain using the order defined in this variable.
111 # The toolchain is cross-compiled against a self-depending glibc.
112 # Third - all the wok in normal order, including the toolchain packages.
113 # This cook order is used only if glibc/binutils/gcc/linux-api-headers
114 # are updated to the next minor version or more (y.x.z -> y.x+1.z).
115 SLITAZ_TOOLCHAIN="linux-api-headers
116 glibc
117 binutils
118 gcc
119 busybox
120 ncurses
121 bash
122 bzip2
123 gawk
124 gettext
125 m4
126 make
127 patch
128 db
129 gdbm
130 zlib
131 perl
132 texinfo
133 autoconf
134 automake
135 lzma"
137 # Slitaz toolchain extra : packages which are needed to cook others
138 # but which are not in the core temporary toolchain.
139 # Note : order is not important here.
140 SLITAZ_TOOLCHAIN_EXTRA="tazpkg
141 tazwok
142 pkg-config
143 libtool
144 libpthread-stubs"
146 # Cook options :
147 # Repack sources in .tar.lzma format.
148 repack_src="yes"