cookutils annotate cook.conf @ rev 707

cookall.sh: skip broken packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 04 10:58:57 2015 +0100 (2015-03-04)
parents a97af30760bd
children 0875b3f3ecc3
rev   line source
pankso@2 1 # Cook packages builder configuration file
pankso@2 2 #
pankso@2 3
pankso@2 4 # SliTaz working directory
pankso@314 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@310 13 FEEDS="$SLITAZ/xml"
pankso@2 14 DATA="/usr/share/cook"
pankso@2 15
pankso@185 16 # System packages DB.
pankso@2 17 DB="/var/lib/tazpkg"
pankso@2 18 INSTALLED="$DB/installed"
pankso@2 19
pankso@9 20 # Quality Assurance (empty to disable receipt_quality).
pankso@9 21 QA="0"
pankso@9 22
pankso@204 23 # Automatically cook missing build dependencies (empty to disable).
pankso@204 24 AUTO_COOK=""
pankso@204 25
pankso@2 26 # Hg wok for setup and flavors URL for the Cooker.
pankso@2 27 WOK_URL="http://hg.slitaz.org/wok"
pankso@2 28 FLAVORS_URL="http://hg.slitaz.org/flavors"
pankso@2 29
pankso@405 30 # Cooker URL for RSS feed link (http://localhost/cgi-bin/cooker/cooker.cgi)
pankso@310 31 COOKER_URL="http://cook.slitaz.org/"
pankso@310 32
pankso@2 33 # Translation files to be included in packages.
pankso@183 34 LOCALE=""
pankso@2 35
pankso@449 36 # List of packages installed in build chroot by cook or the Cooker setup.
pankso@449 37 SETUP_PKGS="slitaz-toolchain pkg-config intltool gettext zlib-dev bzip2
pascal@621 38 aufs-utils aufs m4 syslinux-extra pcre pcre-dev bash xorg-dev mercurial
pascal@622 39 rsync dropbear tazlito"
pankso@449 40
paul@197 41 # Target host architecture type (Glibc doesn't support i386 anymore).
pankso@183 42 ARCH="i486"
pankso@2 43
pankso@184 44 # Build and host. These options are for cross-compiling. If you specify
pankso@184 45 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
pankso@184 46 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
pankso@216 47 #BUILD_SYSTEM="$(uname -m)-slitaz-linux"
pankso@216 48 BUILD_SYSTEM="$ARCH-slitaz-linux"
pankso@185 49 HOST_SYSTEM="$ARCH-slitaz-linux"
pankso@2 50
paul@455 51 # SliTaz uses the sysroot method, this tells GCC to consider dir as the root
pankso@441 52 # of a tree that contains a (subset of) the root filesystem of the target
pankso@441 53 # operating system. Target system headers, libraries and run-time object
pankso@441 54 # files will be searched in there. Cook will use the tools and sysroot in
pankso@441 55 # the CROSS_TREE for cross compiling. Example: CROSS_TREE="/cross/$ARCH"
pankso@441 56 CROSS_TREE=""
pankso@192 57
pankso@449 58 # List of packages installed in chroot by cook or the Cooker setup.
pankso@449 59 # When cross compiling we need some build system tools installed and
pankso@449 60 # some cross-compiled bdeps installed in: $PREFIX (cross host root)
pankso@449 61 CROSS_SETUP="slitaz-toolchain zlib-dev bzip2 aufs-utils aufs bash m4 \
pankso@646 62 autoconf automake libtool gettext bison texinfo"
pankso@449 63
pankso@184 64 # SliTaz optimisation flags - Wide compatibility & optimized for ARCH.
pankso@369 65 #
pankso@183 66 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M
pankso@183 67 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M
pankso@369 68 #
paul@382 69 # ARM: don't use -0s but -02
pankso@369 70 # ARM: -mcpu=name [arm9|xscale|...] or -march=name [armv4|armv6|...]
pankso@441 71 # x86_64: CFLAGS="-march=nocona -Os -pipe"
pankso@369 72 #
pankso@373 73 #MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
pankso@373 74 MAKEFLAGS="-j$(grep processor /proc/cpuinfo | wc -l)"
pankso@185 75 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
pankso@2 76 CXXFLAGS="$CFLAGS"
pankso@2 77
paul@382 78 # Binutils 2.22 breaks many packages built without LDFLAGS set correctly.
pankso@358 79 #LDFLAGS="-Wl,--copy-dt-needed-entries -lXt"
pankso@358 80
pankso@184 81 # Default tool prefix for Binutils.
pankso@184 82 TOOLPREFIX="${HOST_SYSTEM}-"
pankso@2 83
paul@197 84 # Default arguments for GNU configure. CONFIGURE_ARGS is needed for some
pankso@184 85 # packages since --build and --host is not set at all by cook.site (bug ?).
pankso@2 86 CONFIG_SITE=/etc/slitaz/cook.site
pankso@184 87 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
pankso@2 88
pankso@2 89 # Mirrors URLs. To download sources near your location.
pankso@2 90 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
pankso@2 91 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
pascal@599 92 XORG_MIRROR="http://ftp.x.org/pub/individual"
pankso@2 93 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
pankso@29 94
pankso@358 95 # List of filesystems into the aufs chroot (to protect / against modifications)
pascal@293 96 # Default tank config:
pankso@369 97 AUFS_MOUNTS="/ /proc /sys /dev/shm /dev/pts /var/cache/tazpkg \
pankso@369 98 /home /home/slitaz/src /home/slitaz/packages"
pankso@405 99
pankso@405 100 # Old way/tazwok compatibility.
pankso@405 101 BUILD_HOST="$HOST_SYSTEM"
pankso@421 102 SOURCES_REPOSITORY=$SRC
pascal@580 103
pascal@580 104 # Maximum log size in MB per receipt function call (unset it to disable)
pascal@580 105 DEFAULT_LOG_LIMIT=50