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.
35 lines
1.0 KiB
35 lines
1.0 KiB
8 years ago
|
# 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'
|
||
8 years ago
|
dir_sysconfdir='../etc'
|
||
8 years ago
|
dir_mandir='man'
|
||
|
dir_docdir='doc'
|
||
|
dir_infodir='info'
|
||
|
|
||
8 years ago
|
export LDFLAGS="-L/$dir_prefix/$dir_libdir"
|
||
|
|
||
8 years ago
|
options='patch,!pulseaudio,!gtk3,!pam'
|
||
8 years ago
|
package_options() {
|
||
|
case "$1" in
|
||
|
astronaut) echo 'pkgtools,helpers' ;;
|
||
8 years ago
|
i3) echo 'gaps,window-icons' ;;
|
||
8 years ago
|
hostapd) echo 'rtlxdrv' ;;
|
||
|
python3) echo '!2to3-symlink' ;;
|
||
|
python3-setuptools) echo '!easy_install-symlink' ;;
|
||
8 years ago
|
wine) echo 'wine32=lib' ;;
|
||
8 years ago
|
ffmpeg) echo 'gnutls,libvpx,libvorbis,libass' ;;
|
||
|
virtualbox) echo '!docs' ;;
|
||
|
nxengine-evo) echo 'console_key=-' ;;
|
||
8 years ago
|
esac
|
||
|
}
|
||
|
|
||
8 years ago
|
export CFLAGS='-march=native -pipe -O3'
|
||
8 years ago
|
export CXXFLAGS="$CFLAGS"
|
||
8 years ago
|
export MAKEFLAGS="${MAKEFLAGS:--j $(grep processor /proc/cpuinfo | wc -l)}"
|
||
8 years ago
|
export WAFFLAGS="$MAKEFLAGS"
|
||
|
export BAMFLAGS="$MAKEFLAGS"
|