diff --git a/etc/astronaut.conf b/etc/astronaut.conf new file mode 100644 index 0000000..d7efa7f --- /dev/null +++ b/etc/astronaut.conf @@ -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" diff --git a/rocket-config.SlackBuild b/rocket-config.SlackBuild index ca65b61..0648388 100755 --- a/rocket-config.SlackBuild +++ b/rocket-config.SlackBuild @@ -2,7 +2,7 @@ PKGNAM=rocket-config VERSION=14.2 -BUILD=${BUILD:-4rocket} +BUILD=${BUILD:-5rocket} ARCH=noarch CWD=$(pwd)