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