forked from ports/contrib
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
# Description: Linux Infrared Remote Control
|
|
# URL: http://www.lirc.org/
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on:
|
|
|
|
name=lirc
|
|
version=0.9.0
|
|
release=3
|
|
source=(
|
|
http://download.sourceforge.net/$name/$name-$version.tar.bz2
|
|
kernel-2.6.39.patch
|
|
linux-3.8.patch
|
|
lirc_atiusb-kfifo.patch
|
|
lirc_wpc8769l.patch
|
|
lirc_serial.patch
|
|
lircd-handle-large-config.patch
|
|
lircd
|
|
)
|
|
|
|
# Possible drivers:
|
|
#
|
|
# none, any, act200l, animax, atiusb, audio, avermedia, avermedia_vdomate,
|
|
# avermedia98, bestbuy, bestbuy2, breakoutbox, bte, caraca, chronos, comX,
|
|
# creative_infracd, dsp, cph03x, cph06x, creative, devinput, flyvideo,
|
|
# gvbctv5pci, hauppauge, hauppauge_dvb, hercules_smarttv_stereo, irdeo,
|
|
# irdeo_remote, irman, irreal, it87, knc_one, kworld, leadtek_0007,
|
|
# leadtek_0010, livedrive_midi, livedrive_seq, logitech, lptX, mceusb,
|
|
# mediafocusI, mp3anywhere, packard_bell, parallel, pctv, pixelview_bt878,
|
|
# pixelview_pak, pixelview_pro, provideo, realmagic, remotemaster, sa1100,
|
|
# sasem, serial, silitek, sir, slinke, tekram, tekram_bt829, tira, tvbox,
|
|
# udp, uirt2, uirt2_raw
|
|
|
|
# To select the driver, you can change this:
|
|
LIRC_DRIVER=serial
|
|
|
|
build() {
|
|
cd lirc-$version
|
|
|
|
patch -p1 -i $SRC/lirc_serial.patch
|
|
patch -p1 -i $SRC/lirc_wpc8769l.patch
|
|
patch -p1 -i $SRC/lircd-handle-large-config.patch
|
|
patch -p1 -i $SRC/lirc_atiusb-kfifo.patch
|
|
patch -p1 -i $SRC/kernel-2.6.39.patch
|
|
patch -p1 -i $SRC/linux-3.8.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--with-transmitter \
|
|
--enable-sandboxed \
|
|
--with-syslog=LOG_DAEMON \
|
|
--with-driver=$LIRC_DRIVER
|
|
make -j 1
|
|
make DESTDIR=$PKG install
|
|
install -D -m 755 $SRC/lircd $PKG/etc/rc.d/lircd
|
|
|
|
# Uncomment this line if you want to use the kernel module(s) provided by lirc
|
|
rm -rf $PKG/lib
|
|
}
|