mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
25 lines
724 B
Bash
Executable File
25 lines
724 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options $1
|
|
|
|
$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
|