You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
588 B
22 lines
588 B
# 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"
|
|
|