mid-kid
8 years ago
2 changed files with 23 additions and 1 deletions
@ -0,0 +1,22 @@ |
|||
# 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" |
Loading…
Reference in new issue