cookutils rev 216

cook.conf: weel ~2000 pkgs crossed, now we need a repo to sync mirror, build in natif by default.
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 24 02:36:44 2011 +0200 (2011-05-24)
parents 040cd7ff487e
children e403679496d9
files cook.conf cook.site
line diff
     1.1 --- a/cook.conf	Tue May 24 02:01:43 2011 +0200
     1.2 +++ b/cook.conf	Tue May 24 02:36:44 2011 +0200
     1.3 @@ -35,7 +35,8 @@
     1.4  # Build and host. These options are for cross-compiling. If you specify
     1.5  # both options and BUILD_SYSTEM is different from HOST_SYSTEM, configure
     1.6  # will prepare to cross-compile from BUILD_SYSTEM to be used on HOST_SYSTEM.
     1.7 -BUILD_SYSTEM="$(uname -m)-slitaz-linux"
     1.8 +#BUILD_SYSTEM="$(uname -m)-slitaz-linux"
     1.9 +BUILD_SYSTEM="$ARCH-slitaz-linux"
    1.10  HOST_SYSTEM="$ARCH-slitaz-linux"
    1.11  
    1.12  # Old way/tazwok compatibility.
     2.1 --- a/cook.site	Tue May 24 02:01:43 2011 +0200
     2.2 +++ b/cook.site	Tue May 24 02:36:44 2011 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # /etc/slitaz/cook.site: Default options passed to ./configure in SliTaz
     2.5  #
     2.6  # This file is used since we can't export these variables, but configure
     2.7 -# handles CONFIG_SITE and will source this file automatically if set.
     2.8 +# handles CONFIG_SITE and will source this file automatically.
     2.9  #
    2.10  # If you want to use your own cook.site, you can use:
    2.11  # export CONFIG_SITE=config.site in compile_rules of a receipt.
    2.12 @@ -18,12 +18,10 @@
    2.13  	mandir=$( echo "$mandir" | sed 's/${prefix}/${datarootdir}/')
    2.14  fi
    2.15  
    2.16 -# Default options (BUILD_HOST is set in cook.conf)
    2.17 +# Default options.
    2.18  prefix=/usr
    2.19  datarootdir=$prefix/share
    2.20  datadir=$datadir
    2.21  localedir=$datarootdir/locale
    2.22  infodir=$datarootdir/info
    2.23  mandir=$datarootdir/man
    2.24 -build="$BUILD_HOST"
    2.25 -host="$BUILD_HOST"