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