Files
Arch-R/packages/sysutils/remote/lirc/build
Stephan Raue 2283017c2c lirc: remove unneeded patches, cleanup
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-10-23 07:21:24 +02:00

32 lines
660 B
Bash
Executable File

#!/bin/sh
. config/options $1
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
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--disable-shared \
--enable-sandboxed \
--without-x \
--with-driver=userspace \
--with-syslog=LOG_DAEMON \
--with-kerneldir=$(kernel_path) \
$DEBUG_CONFIG
make
$MAKEINSTALL -C tools