#!/bin/sh . config/options $SCRIPTS/build toolchain $SCRIPTS/build libusb cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ --sysconfdir=/etc \ --enable-libusb \ --enable-drivers="$LCD_DRIVER,!curses,!svga" make sed -i -e "s|^DriverPath=.*$|DriverPath=/usr/lib/lcdproc/|" LCDd.conf sed -i -e "s|^Driver=.*$|Driver=irtrans|" LCDd.conf sed -i -e "s|^#Foreground=.*$|Foreground=no|" LCDd.conf sed -i -e "s|^#ServerScreen=.*$|ServerScreen=blank|" LCDd.conf sed -i -e "s|^#Backlight=.*$|Backlight=open|" LCDd.conf sed -i -e "s|^#Heartbeat=.*$|Heartbeat=open|" LCDd.conf sed -i -e "s|^#TitleSpeed=.*$|TitleSpeed=10|" LCDd.conf