My configuration and packages for Slackware
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.

33 lines
1003 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_sysconfdir='../etc'
dir_mandir='man'
dir_docdir='doc'
dir_infodir='info'
export LDFLAGS="-L/$dir_prefix/$dir_libdir"
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"