cookutils annotate cook.conf @ rev 258

cooker.cgi: syntax_highlighter should dehtmlize first
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 31 18:27:32 2011 +0200 (2011-05-31)
parents 307625056072
children 38fabb050655
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
pankso@185 7 # Directory paths for cookutils DB and files.
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@185 15 # System packages DB.
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@204 22 # Automatically cook missing build dependencies (empty to disable).
pankso@204 23 AUTO_COOK=""
pankso@204 24
pankso@2 25 # Hg wok for setup and flavors URL for the Cooker.
pankso@2 26 WOK_URL="http://hg.slitaz.org/wok"
pankso@2 27 FLAVORS_URL="http://hg.slitaz.org/flavors"
pankso@2 28
pankso@2 29 # Translation files to be included in packages.
pankso@183 30 LOCALE=""
pankso@2 31
paul@197 32 # Target host architecture type (Glibc doesn't support i386 anymore).
pankso@183 33 ARCH="i486"
pankso@2 34
pankso@184 35 # Build and host. These options are for cross-compiling. If you specify
pankso@184 36 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
pankso@184 37 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
pankso@216 38 #BUILD_SYSTEM="$(uname -m)-slitaz-linux"
pankso@216 39 BUILD_SYSTEM="$ARCH-slitaz-linux"
pankso@185 40 HOST_SYSTEM="$ARCH-slitaz-linux"
pankso@2 41
pankso@192 42 # Old way/tazwok compatibility.
pankso@192 43 BUILD_HOST="$HOST_SYSTEM"
pankso@192 44
pankso@184 45 # SliTaz optimisation flags - Wide compatibility & optimized for ARCH.
pankso@183 46 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M
pankso@183 47 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M
pankso@2 48 MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
pankso@185 49 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
pankso@2 50 CXXFLAGS="$CFLAGS"
pankso@2 51
pankso@184 52 # Default tool prefix for Binutils.
pankso@184 53 TOOLPREFIX="${HOST_SYSTEM}-"
pankso@2 54
paul@197 55 # Default arguments for GNU configure. CONFIGURE_ARGS is needed for some
pankso@184 56 # packages since --build and --host is not set at all by cook.site (bug ?).
pankso@2 57 CONFIG_SITE=/etc/slitaz/cook.site
pankso@184 58 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
pankso@2 59
pankso@2 60 # Mirrors URLs. To download sources near your location.
pankso@2 61 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
pankso@2 62 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
pankso@2 63 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
pankso@2 64 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
pankso@29 65
pankso@29 66 # List of packages installed by cook or the Cooker setup.
pankso@29 67 SETUP_PKGS="slitaz-toolchain slitaz-dev-pkgs intltool gettext bzip2"