47 lines
1.5 KiB
Plaintext
47 lines
1.5 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.8.2
|
||
|
release=1
|
||
|
source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2 irxevent_name.diff 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 uncomment this:
|
||
|
# LIRC_DRIVER=userspace
|
||
|
# or you can set it up as an environment variable before running pkgmk
|
||
|
# or you will be asked interactively
|
||
|
|
||
|
build() {
|
||
|
cd lirc-$version
|
||
|
|
||
|
# Patch to let irxevent use different program names
|
||
|
patch -p1 -i $SRC/irxevent_name.diff
|
||
|
|
||
|
if [ -z "$LIRC_DRIVER" ]; then
|
||
|
./setup.sh
|
||
|
./configure.sh --prefix=/usr --disable-static
|
||
|
else
|
||
|
./configure --prefix=/usr --disable-static --with-driver="$LIRC_DRIVER"
|
||
|
fi
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
install -D -m 755 $SRC/lircd $PKG/etc/rc.d/lircd
|
||
|
rm -rf $PKG/dev
|
||
|
}
|