1 # Description: Linux Infrared Remote Control
2 # URL: http://www.lirc.org/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 #
5 # Depends on:
6
7 name=lirc
8 version=0.8.4a
9 release=1
10 source=(http://dl.sourceforge.net/$name/$name-$version.tar.bz2 irxevent_name.diff lircd)
11
12 # Possible drivers:
13 #
14 # none, any, act200l, animax, atiusb, audio, avermedia, avermedia_vdomate,
15 # avermedia98, bestbuy, bestbuy2, breakoutbox, bte, caraca, chronos, comX,
16 # creative_infracd, dsp, cph03x, cph06x, creative, devinput, flyvideo,
17 # gvbctv5pci, hauppauge, hauppauge_dvb, hercules_smarttv_stereo, irdeo,
18 # irdeo_remote, irman, irreal, it87, knc_one, kworld, leadtek_0007,
19 # leadtek_0010, livedrive_midi, livedrive_seq, logitech, lptX, mceusb,
20 # mediafocusI, mp3anywhere, packard_bell, parallel, pctv, pixelview_bt878,
21 # pixelview_pak, pixelview_pro, provideo, realmagic, remotemaster, sa1100,
22 # sasem, serial, silitek, sir, slinke, tekram, tekram_bt829, tira, tvbox,
23 # udp, uirt2, uirt2_raw
24
25 # To select the driver, you can change this:
26 LIRC_DRIVER=serial
27
28 build() {
29 cd lirc-$version
30
31 # Patch to let irxevent use different program names
32 patch -p1 -i $SRC/irxevent_name.diff
33
34 ./configure --prefix=/usr --mandir=/usr/man --disable-static --with-driver=$LIRC_DRIVER
35 make
36 make DESTDIR=$PKG install
37 install -D -m 755 $SRC/lircd $PKG/etc/rc.d/lircd
38 rm -rf $PKG/dev
39 }
|