cookutils annotate cook.conf @ rev 183

Use i486 for generic Intel/AMDand -Os for size optimization (we will save space!!!)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 15:34:43 2011 +0200 (2011-05-19)
parents 7285c2fa64b2
children 26462794f005
rev   line source
pankso@2 1 # Cook packages builder configuration file
pankso@2 2 #
pankso@2 3
pankso@2 4 # SliTaz working directory
pankso@2 5 SLITAZ="/home/slitaz"
pankso@2 6
paul@38 7 # Directory paths.
pankso@2 8 WOK="$SLITAZ/wok"
pankso@2 9 PKGS="$SLITAZ/packages"
pankso@2 10 SRC="$SLITAZ/src"
pankso@2 11 CACHE="$SLITAZ/cache"
pankso@2 12 LOGS="$SLITAZ/log"
pankso@2 13 DATA="/usr/share/cook"
pankso@2 14
pankso@2 15 # System packages.
pankso@2 16 DB="/var/lib/tazpkg"
pankso@2 17 INSTALLED="$DB/installed"
pankso@2 18
pankso@9 19 # Quality Assurance (empty to disable receipt_quality).
pankso@9 20 QA="0"
pankso@9 21
pankso@2 22 # Hg wok for setup and flavors URL for the Cooker.
pankso@2 23 WOK_URL="http://hg.slitaz.org/wok"
pankso@2 24 FLAVORS_URL="http://hg.slitaz.org/flavors"
pankso@2 25
pankso@2 26 # Translation files to be included in packages.
pankso@183 27 LOCALE=""
pankso@2 28
pankso@183 29 # Architecture.
pankso@183 30 ARCH="i486"
pankso@2 31
pankso@183 32 # Build host.
pankso@181 33 BUILD_HOST="$ARCH-pc-linux-gnu"
pankso@2 34
pankso@2 35 # SliTaz optimisation flags - Wide compatibility & optimized for i386
pankso@183 36 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M
pankso@183 37 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M
pankso@2 38 MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
pankso@183 39 CFLAGS="-mtune=$ARCH -Os -pipe -fomit-frame-pointer"
pankso@2 40 CXXFLAGS="$CFLAGS"
pankso@2 41
pankso@2 42 # Default tool prefix.
pankso@2 43 TOOLPREFIX="${BUILD_HOST}-"
pankso@2 44
pankso@183 45 # Default arguments for GNU configure. CONFIGURE_ARGS is neede for some
pankso@183 46 # packages since --build and --host is not well set by cook.site.
pankso@2 47 CONFIG_SITE=/etc/slitaz/cook.site
pankso@183 48 CONFIGURE_ARGS="--build=$BUILD_HOST --host=$BUILD_HOST"
pankso@2 49
pankso@2 50 # Mirrors URLs. To download sources near your location.
pankso@2 51 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
pankso@2 52 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
pankso@2 53 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
pankso@2 54 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
pankso@29 55
pankso@29 56 # List of packages installed by cook or the Cooker setup.
pankso@29 57 SETUP_PKGS="slitaz-toolchain slitaz-dev-pkgs intltool gettext bzip2"