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