cookutils rev 2

Added: cook.conf
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 03 22:30:53 2011 +0200 (2011-05-03)
parents 04526db035f3
children 95886e244781
files cook.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cook.conf	Tue May 03 22:30:53 2011 +0200
     1.3 @@ -0,0 +1,47 @@
     1.4 +# Cook packages builder configuration file
     1.5 +#
     1.6 +
     1.7 +# SliTaz working directory
     1.8 +SLITAZ="/home/slitaz"
     1.9 +
    1.10 +# Directories path's.
    1.11 +WOK="$SLITAZ/wok"
    1.12 +PKGS="$SLITAZ/packages"
    1.13 +SRC="$SLITAZ/src"
    1.14 +CACHE="$SLITAZ/cache"
    1.15 +LOGS="$SLITAZ/log"
    1.16 +DATA="/usr/share/cook"
    1.17 +
    1.18 +# System packages.
    1.19 +DB="/var/lib/tazpkg"
    1.20 +INSTALLED="$DB/installed"
    1.21 +
    1.22 +# Hg wok for setup and flavors URL for the Cooker.
    1.23 +WOK_URL="http://hg.slitaz.org/wok"
    1.24 +FLAVORS_URL="http://hg.slitaz.org/flavors"
    1.25 +
    1.26 +# Translation files to be included in packages.
    1.27 +LOCALE="fr pt_BR"
    1.28 +
    1.29 +# Architecture.
    1.30 +ARCH="i486"
    1.31 +
    1.32 +# Build host.
    1.33 +BUILD_HOST="$ARCH-pc-linux-gnu"
    1.34 +
    1.35 +# SliTaz optimisation flags - Wide compatibility & optimized for i386
    1.36 +MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
    1.37 +CFLAGS="-mtune=$ARCH -O2 -pipe -fomit-frame-pointer"
    1.38 +CXXFLAGS="$CFLAGS"
    1.39 +
    1.40 +# Default tool prefix.
    1.41 +TOOLPREFIX="${BUILD_HOST}-"
    1.42 +
    1.43 +# Default arguments for GNU configure.
    1.44 +CONFIG_SITE=/etc/slitaz/cook.site
    1.45 +
    1.46 +# Mirrors URLs. To download sources near your location.
    1.47 +GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
    1.48 +SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
    1.49 +XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
    1.50 +GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"