mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
17 lines
511 B
Bash
Executable File
17 lines
511 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
|
|
sed -i "s%^CFLAGS=.*%%" $PKG_BUILD/configure
|
|
|
|
# use /dev/lirc0 by default instead of /dev/lirc
|
|
sed -i -e 's|#define DEV_LIRC "lirc"|#define DEV_LIRC "lirc0"|' \
|
|
$PKG_BUILD/config.h.in
|
|
|
|
# *cough* I wish there was a good way to disable alsa/portaudio/svgalib...
|
|
sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' $PKG_BUILD/configure*
|
|
sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' $PKG_BUILD/configure*
|
|
sed -i -e 's/vga.h/SVGALIB_DISABLED/g' $PKG_BUILD/configure*
|