Files
Arch-R/packages/sysutils/lcdproc/build
Stephan Raue c16be703f6 lcdproc:
- remove link time optimization hack (not more needed)
2010-06-14 01:28:19 +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