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.
28 lines
831 B
28 lines
831 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'
|
|
|
|
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' ;;
|
|
esac
|
|
}
|
|
|
|
export CFLAGS='-mtune=atom -pipe -O3'
|
|
export CXXFLAGS="$CFLAGS"
|
|
export MAKEFLAGS="-j $(cat /proc/cpuinfo | grep processor | wc -l)"
|
|
export WAFFLAGS="$MAKEFLAGS"
|
|
export BAMFLAGS="$MAKEFLAGS"
|
|
|