# Setup: mkdir -p /var/cache/astronaut && chmod a+wt /var/cache/astronaut dir_build="/tmp/astronaut.$(id -u)/build" dir_install="/tmp/astronaut.$(id -u)/install" dir_source='/var/cache/astronaut' [ "$(uname -m)" = "x86_64" ] && dir_libdir='lib64' dir_mandir='man' dir_docdir='doc' dir_infodir='info' package_options() { case "$1" in astronaut) echo 'pkgtools,helpers' ;; esac } export CFLAGS='-march=atom -pipe -O2' export CXXFLAGS="$CFLAGS" export MAKEFLAGS="-j $(cat /proc/cpuinfo | grep processor | wc -l)" export WAFFLAGS="$MAKEFLAGS" export BAMFLAGS="$MAKEFLAGS"