cookutils view cook.conf @ rev 459

Start of slitaz-tank version of cookutils branch. cook.conf: Updated.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jun 07 15:21:49 2012 +0000 (2012-06-07)
parents 8e43a0f15aa0
children 438265947b38
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 FEEDS="$SLITAZ/xml"
14 INCOMING="$SLITAZ/incoming"
15 DATA="/usr/share/cook"
17 # System packages DB.
18 DB="/var/lib/tazpkg"
19 INSTALLED="$DB/installed"
21 # Quality Assurance (empty to disable receipt_quality).
22 QA="0"
24 # Automatically cook missing build dependencies (empty to disable).
25 AUTO_COOK=""
27 # Hg wok for setup and flavors URL for the Cooker.
28 WOK_URL="http://hg.slitaz.org/wok"
29 FLAVORS_URL="http://hg.slitaz.org/flavors"
31 # Cooker URL for RSS feed link (http://localhost/cgi-bin/cooker/cooker.cgi)
32 COOKER_URL="http://cook.slitaz.org/"
34 # Translation files to be included in packages.
35 LOCALE=""
37 # Target host architecture type (Glibc doesn't support i386 anymore).
38 ARCH="i486"
40 # Build and host. These options are for cross-compiling. If you specify
41 # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
42 # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
43 #BUILD_SYSTEM="$(uname -m)-slitaz-linux"
44 BUILD_SYSTEM="$ARCH-slitaz-linux"
45 HOST_SYSTEM="$ARCH-slitaz-linux"
47 # SliTaz uses the sysroot method, this tells GCC to consider dir as the root
48 # of a tree that contains a (subset of) the root filesystem of the target
49 # operating system. Target system headers, libraries and run-time object
50 # files will be searched in there. Cook will use the tools and sysroot in
51 # the CROSS_TREE for cross compiling. Example: CROSS_TREE="/cross/$ARCH"
52 CROSS_TREE=""
54 # List of packages installed in chroot by cook or the Cooker setup.
55 # When cross compiling we need some build system tools installed and
56 # some cross-compiled bdeps installed in: $PREFIX (cross host root)
57 CROSS_SETUP="slitaz-toolchain zlib-dev bzip2 aufs-utils aufs bash m4 \
58 autoconf automake libtool gettext"
60 # SliTaz optimisation flags - Wide compatibility & optimized for ARCH.
61 #
62 # With -O2: binutils: Produce 14.0M Packed 5.5M Compressed 1.2M
63 # With -Os: binutils: Produce 13.4M Packed 4.9M Compressed 1.1M
64 #
65 # ARM: don't use -0s but -02
66 # ARM: -mcpu=name [arm9|xscale|...] or -march=name [armv4|armv6|...]
67 # x86_64: CFLAGS="-march=nocona -Os -pipe"
68 #
69 #MAKEFLAGS="-j$(($(grep processor /proc/cpuinfo | wc -l)+1))"
70 MAKEFLAGS="-j$(grep processor /proc/cpuinfo | wc -l)"
71 CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
72 CXXFLAGS="$CFLAGS"
74 # Binutils 2.22 breaks many packages built without LDFLAGS set correctly.
75 #LDFLAGS="-Wl,--copy-dt-needed-entries -lXt"
77 # Default tool prefix for Binutils.
78 TOOLPREFIX="${HOST_SYSTEM}-"
80 # Default arguments for GNU configure. CONFIGURE_ARGS is needed for some
81 # packages since --build and --host is not set at all by cook.site (bug ?).
82 CONFIG_SITE=/etc/slitaz/cook.site
83 CONFIGURE_ARGS="--build=$BUILD_SYSTEM --host=$HOST_SYSTEM"
85 # Mirrors URLs. To download sources near your location.
86 GNU_MIRROR="ftp://sunsite.cnlab-switch.ch/mirror/gnu"
87 SF_MIRROR="http://switch.dl.sourceforge.net/sourceforge"
88 XORG_MIRROR="ftp://ftp.solnet.ch/mirror/x.org/pub/individual"
89 GNOME_MIRROR="http://ftp.gnome.org/pub/GNOME/sources"
91 TOOLCHAIN="slitaz-toolchain
92 busybox
93 ncurses
94 bash
95 bzip2
96 gawk
97 gettext
98 m4
99 make
100 patch
101 db
102 gdbm
103 zlib-dev
104 perl
105 texinfo
106 autoconf
107 automake
108 lzma
109 tar
110 kmod
111 xorg-dev"
113 TOOLCHAIN_EXTRA="tazpkg
114 cookutils
115 glib
116 pkg-config
117 libtool
118 libpthread-stubs
119 mercurial
120 rsync
121 wget"
123 AUFS_PKGS="aufs-utils
124 aufs"
126 # List of packages installed by cook or the Cooker setup.
127 SETUP_PKGS="$TOOLCHAIN
128 $TOOLCHAIN_EXTRA
129 intltool
130 gettext
131 bzip2"
133 # List of filesystems into the aufs chroot (to protect / against modifications)
134 # Default tank config:
135 AUFS_MOUNTS="/ /proc /sys /dev/shm /dev/pts /var/cache/tazpkg \
136 /home /home/slitaz/src /home/slitaz/packages"
138 if [ "$AUFS_MODE" ]; then
139 INSTALL_PKGS="$SETUP_PKGS $AUFS_PKGS"
140 else
141 INSTALL_PKGS="$SETUP_PKGS"
142 fi
144 # Old way/tazwok compatibility.
145 BUILD_HOST="$HOST_SYSTEM"
146 SOURCES_REPOSITORY=$SRC