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