# 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_sysconfdir='../etc' dir_mandir='man' dir_docdir='doc' dir_infodir='info' options='!pulseaudio,!gtk3' package_options() { case "$1" in astronaut) echo 'pkgtools,helpers' ;; i3) echo 'window-icons' ;; hostapd) echo 'rtlxdrv' ;; python3) echo '!2to3-symlink' ;; python3-setuptools) echo '!easy_install-symlink' ;; texlive) echo '!system-harfbuzz' ;; wine) echo 'wine32=lib' ;; ffmpeg) echo 'openssl,libvpx,libvorbis,libass' ;; esac } export CFLAGS='-march=native -pipe -O3' export CXXFLAGS="$CFLAGS" export MAKEFLAGS="${MAKEFLAGS:--j $(grep processor /proc/cpuinfo | wc -l)}" export WAFFLAGS="$MAKEFLAGS" export BAMFLAGS="$MAKEFLAGS"