cookutils annotate cook.conf @ rev 368
Handle CROSS_BUGS (will move the few CROSS var to it so all cross configs are prefixed with CROSS_ in cook)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 10 04:37:24 2012 +0200 (2012-05-10) |
parents | 87c4568e2ced |
children | ae512633e579 |
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@310 | 30 # Cooker URL for RSS feed link (http://localhost/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 |
paul@197 | 36 # Target host architecture type (Glibc doesn't support i386 anymore). |
pankso@183 | 37 ARCH="i486" |
pankso@2 | 38 |
pankso@184 | 39 # Build and host. These options are for cross-compiling. If you specify |
pankso@184 | 40 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure |
pankso@184 | 41 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM. |
pankso@216 | 42 #BUILD_SYSTEM="$(uname -m)-slitaz-linux" |
pankso@216 | 43 BUILD_SYSTEM="$ARCH-slitaz-linux" |
pankso@185 | 44 HOST_SYSTEM="$ARCH-slitaz-linux" |
pankso@2 | 45 |
pankso@192 | 46 # Old way/tazwok compatibility. |
pankso@192 | 47 BUILD_HOST="$HOST_SYSTEM" |
pankso@192 | 48 |
pankso@184 | 49 # SliTaz optimisation flags - Wide compatibility & optimized for ARCH. |
pankso@183 | 50 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M |
pankso@183 | 51 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M |
pankso@2 | 52 MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))" |
pankso@185 | 53 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" |
pankso@2 | 54 CXXFLAGS="$CFLAGS" |
pankso@2 | 55 |
pankso@358 | 56 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pankso@358 | 57 #LDFLAGS="-Wl,--copy-dt-needed-entries -lXt" |
pankso@358 | 58 |
pankso@184 | 59 # Default tool prefix for Binutils. |
pankso@184 | 60 TOOLPREFIX="${HOST_SYSTEM}-" |
pankso@2 | 61 |
paul@197 | 62 # Default arguments for GNU configure. CONFIGURE_ARGS is needed for some |
pankso@184 | 63 # packages since --build and --host is not set at all by cook.site (bug ?). |
pankso@2 | 64 CONFIG_SITE=/etc/slitaz/cook.site |
pankso@184 | 65 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM" |
pankso@2 | 66 |
pankso@2 | 67 # Mirrors URLs. To download sources near your location. |
pankso@2 | 68 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu" |
pankso@2 | 69 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge" |
pankso@2 | 70 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual" |
pankso@2 | 71 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources" |
pankso@29 | 72 |
pankso@29 | 73 # List of packages installed by cook or the Cooker setup. |
pankso@302 | 74 SETUP_PKGS="slitaz-toolchain pkg-config intltool gettext zlib-dev bzip2 |
pankso@357 | 75 aufs-utils aufs m4 syslinux-extra pcre pcre-dev bash xorg-dev" |
pascal@287 | 76 |
pankso@358 | 77 # List of filesystems into the aufs chroot (to protect / against modifications) |
pascal@293 | 78 # Default tank config: |
pascal@293 | 79 AUFS_MOUNTS="/ /proc /sys /dev/shm /dev/pts /var/cache/tazpkg /home /home/slitaz/src /home/slitaz/packages" |