Files
Arch-R/packages/sysutils/remote/lirc/build

33 lines
637 B
Plaintext
Raw Normal View History

2009-10-23 20:31:22 +02:00
#!/bin/sh
. config/options
$SCRIPTS/build toolchain
if [ "$DEBUG" = yes ]; then
DEBUG_CONFIG="--enable-debug"
2009-10-23 20:31:22 +02:00
else
DEBUG_CONFIG="--disable-debug"
2009-10-23 20:31:22 +02:00
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 \
2009-10-27 03:14:44 +01:00
--sysconfdir=/etc \
2009-10-23 20:31:22 +02:00
--disable-shared \
--enable-sandboxed \
--without-x \
--with-driver=userspace \
--with-syslog=LOG_DAEMON \
2009-10-23 20:31:22 +02:00
$DEBUG_CONFIG
make
$MAKEINSTALL -C tools