cookutils view cook.site @ rev 1019

cook: add fix() to use '--as-needed' linker flag in compile_rules(); cookit(): make QA fail on empty vars / bad values; remove_already_packed(): fix bug when $PACKAGE not listed in $SPLIT and we use this function for the default set. lighttpd/index.cgi: sort orphans. modules/precheck: separate error message by empty lines.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 14:31:28 2017 +0200 (2017-12-07)
parents c8f94ae422a8
children 7d37b282b4fb
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.
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.
22 prefix=/usr
23 datarootdir=$prefix/share
24 datadir=$datadir
25 localedir=$datarootdir/locale
26 infodir=$datarootdir/info
27 mandir=$datarootdir/man