Files
Arch-R/packages/sysutils/lirc/build
Stephan Raue cc523e5c7e lirc:
- dont build lirc driver anymore (builded with kernel)
- dont install lirc driver anymore (installed with kernel)
- disable looking of alsa, portausio, svgalib
- logging to syslog
- cosmetics & cleanups
2010-04-05 14:42:58 +02:00

38 lines
800 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/build toolchain
if [ "$DEBUG" = yes ]; then
DEBUG_CONFIG="--enable-debug"
else
DEBUG_CONFIG="--disable-debug"
fi
export ac_cv_path_LIBUSB_CONFIG=
export ac_cv_func_forkpty=no
export ac_cv_lib_util_forkpty=no
export MAKEFLAGS=-j1
cd $PKG_BUILD
sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' configure*
sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' configure*
sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure*
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-shared \
--enable-sandboxed \
--without-x \
--with-driver=userspace \
--with-syslog=LOG_DAEMON \
$DEBUG_CONFIG
make
$MAKEINSTALL -C tools