Files
Arch-R/packages/sysutils/lcdproc/build
T

22 lines
676 B
Python
Raw Normal View History

2010-04-23 08:43:21 +02:00
#!/bin/sh
. config/options $1
2010-04-23 08:43:21 +02:00
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
2010-04-23 22:25:13 +02:00
sed -i -e "s|^Driver=.*$|Driver=irtrans|" LCDd.conf
2010-04-28 00:19:01 +02:00
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