tazwok view examples/tazwok.conf @ rev 459

tazwok, gen_package(): fix libs detection
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 16 19:02:11 2011 +0100 (2011-03-16)
parents 556a89fc8607
children cdab17eb0dc9
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 # Default arguments for GNU configure.
66 default_prefix=/usr
67 default_datarootdir=$default_prefix/share
68 default_datadir=$default_datarootdir
69 default_localedir=$default_datarootdir/locale
70 default_infodir=$default_datarootdir/info
71 default_mandir=$default_datarootdir/man
72 default_build="$BUILD_HOST"
73 default_host="$BUILD_HOST"
74 # CONFIGURE_ARGS is here only for backward compatibility.
75 CONFIGURE_ARGS="--build=$BUILD_HOST --host=$BUILD_HOST"
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="ftp://ftp.solnet.ch/mirror/x.org/pub/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 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"