cookutils view 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
line source
1 # Cook packages builder configuration file
2 #
4 # SliTaz working directory
5 SLITAZ="/home/slitaz"
7 # Directory paths for cookutils DB and files.
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 DB.
16 DB="/var/lib/tazpkg"
17 INSTALLED="$DB/installed"
19 # Quality Assurance (empty to disable receipt_quality).
20 QA="0"
22 # Automatically cook missing build dependencies (empty to disable).
23 AUTO_COOK=""
25 # Hg wok for setup and flavors URL for the Cooker.
26 WOK_URL="http://hg.slitaz.org/wok"
27 FLAVORS_URL="http://hg.slitaz.org/flavors"
29 # Translation files to be included in packages.
30 LOCALE=""
32 # Target host architecture type (Glibc doesn't support i386 anymore).
33 ARCH="i486"
35 # Build and host. These options are for cross-compiling. If you specify
36 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
37 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
38 #BUILD_SYSTEM="$(uname -m)-slitaz-linux"
39 BUILD_SYSTEM="$ARCH-slitaz-linux"
40 HOST_SYSTEM="$ARCH-slitaz-linux"
42 # Old way/tazwok compatibility.
43 BUILD_HOST="$HOST_SYSTEM"
45 # SliTaz optimisation flags - Wide compatibility & optimized for ARCH.
46 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M
47 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M
48 MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
49 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
50 CXXFLAGS="$CFLAGS"
52 # Default tool prefix for Binutils.
53 TOOLPREFIX="${HOST_SYSTEM}-"
55 # Default arguments for GNU configure. CONFIGURE_ARGS is needed for some
56 # packages since --build and --host is not set at all by cook.site (bug ?).
57 CONFIG_SITE=/etc/slitaz/cook.site
58 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
60 # Mirrors URLs. To download sources near your location.
61 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
62 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
63 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
64 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
66 # List of packages installed by cook or the Cooker setup.
67 SETUP_PKGS="slitaz-toolchain slitaz-dev-pkgs intltool gettext bzip2"