tazwok view examples/tazwok.conf @ rev 480

tazwok, gen_package(): try to fix the new lib change feature
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Apr 07 18:51:35 2011 +0200 (2011-04-07)
parents 04eb5fb6c9a3
children 80c33ad3414d
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 # Default build host.
37 BUILD_HOST="$ARCH-pc-linux-gnu"
39 # Default compilation flags.
40 # More details at :
41 # http://www.gentoo.org/doc/en/gcc-optimization.xml
42 # http://en.gentoo-wiki.com/wiki/Safe_Cflags
43 #
44 # Note : -pipe will be automatically disabled if you have less than
45 # 512MB of free RAM to avoid gcc crashes.
46 #
47 # Default SliTaz flags - wide compatibility & optimized for i386 as it's the
48 # slowest CPU :
49 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
50 # Where ARCH=i386
51 #
52 # Cook compatible packages partially optimized for your own hardware :
53 #CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
54 # Where ARCH=your arch
55 #
56 # Cook packages fully optimized for your hardware - Warning, compatible only
57 # with same hardware and newest of the same family :
58 #CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
59 CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
60 CXXFLAGS="$CFLAGS"
62 # Default tool prefix.
63 TOOLPREFIX="${BUILD_HOST}-"
65 # CONFIGURE_ARGS is here only for backward compatibility.
66 CONFIGURE_ARGS="--build=$BUILD_HOST --host=$BUILD_HOST"
68 # Translation files to be included in packages. Note that you can specify
69 # several locales.
70 LOCALE="fr"
72 # Mirrors URLs. To download sources near your location.
73 # GNU mirror :
74 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
75 # SourceForge mirror :
76 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
77 # Xorg mirror :
78 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
79 # Gnome mirror :
80 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
82 # Favorite console editor.
83 EDITOR="nano"
85 # FSH standard directories with init. Package generation will abort if
86 # a file is installed in a non-specified path. Note /vz is for OpenVZ.
87 FSH="bin boot dev etc home init lib media mnt proc root sbin share sys \
88 tmp usr var vz usr/bin usr/games usr/include usr/lib usr/local usr/sbin \
89 usr/share usr/src"
91 # tazpkg compression "gzip" or "lzma".
92 COMPRESSION="lzma"
94 # Slitaz Toolchain : the tools used to compile all other packages.
95 # Toolchain packages don't need to be included as build_depends
96 # because they are in the chroot by default. The order in this
97 # variable is important : it's the compile order for the temporary
98 # toolchain which can be used to recook the base chroot, then all
99 # the wok. Toolchain is compiled this way according to the LFS book :
100 # First - binutils, GCC; at this point they are linked to the host system.
101 # Second - the temp toolchain using the order defined in this variable.
102 # The toolchain is cross-compiled against a self-depending glibc.
103 # Third - all the wok in normal order, including the toolchain packages.
104 # This cook order is used only if glibc/binutils/gcc/linux-api-headers
105 # are updated to the next minor version or more (y.x.z -> y.x+1.z).
106 SLITAZ_TOOLCHAIN="linux-api-headers
107 glibc
108 binutils
109 gcc
110 busybox
111 ncurses
112 bash
113 bzip2
114 gawk
115 gettext
116 m4
117 make
118 patch
119 db
120 gdbm
121 zlib
122 perl
123 texinfo
124 autoconf
125 automake
126 lzma"
128 # Slitaz toolchain extra : packages which are needed to cook others
129 # but which are not in the core temporary toolchain.
130 # Note : order is not important here.
131 SLITAZ_TOOLCHAIN_EXTRA="tazpkg
132 tazwok
133 pkg-config
134 libtool
135 libpthread-stubs"
137 # Cook options :
138 # Repack sources in .tar.lzma format.
139 repack_src="yes"