cookutils view cook.site @ rev 52

cook: Include Erjo patches - Beter test for installed packages and init DB files
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 07 12:11:33 2011 +0200 (2011-05-07)
parents 95886e244781
children 8a0d9124cd8d
line source
1 # /etc/slitaz/cook.site: Default options passed to ./configure in SliTaz
2 #
3 # This file is used since we can't export these variables, but configure
4 # handles CONFIG_SITE and will source this file automatically if set.
5 #
6 # If you want to use your own cook.site, you can use:
7 # export CONFIG_SITE=config.site in compile_rules of a receipt.
8 #
10 # Some old configure(s) use "${prefix}" instead of "${datarootdir}".
11 if echo "$localedir" | grep -q \${prefix}; then
12 localedir=$( echo "$localedir" | sed 's/${prefix}/${datarootdir}/')
13 fi
14 if echo "$infodir" | grep -q \${prefix}; then
15 infodir=$( echo "$infodir" | sed 's/${prefix}/${datarootdir}/')
16 fi
17 if echo "$mandir" | grep -q \${prefix}; then
18 mandir=$( echo "$mandir" | sed 's/${prefix}/${datarootdir}/')
19 fi
21 # Default options (BUILD_HOST is set in cook.conf)
22 prefix=/usr
23 datarootdir=$prefix/share
24 datadir=$datarootdir
25 localedir=$datarootdir/locale
26 infodir=$datarootdir/info
27 mandir=$datarootdir/man
28 build="$BUILD_HOST"
29 host="$BUILD_HOST"