Files
Arch-R/packages/sysutils/lcdproc/build
Stephan Raue bf4ca416ab lcdproc:
- some usefull settings to /etc/LCDd.conf
2010-04-28 00:19:01 +02:00

25 lines
721 B
Bash
Executable File

#!/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