blob: fe7723cadc6442f1efe92e44fac1943c7f510bec (
plain)
1 # Description: Linux Infrared Remote Control
2 # URL: http://www.lirc.org/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends on: alsa-lib libxslt libusb-compat python3-setuptools xorg-libx11
5
6 name=lirc
7 version=0.10.1
8 release=1
9 source=(https://download.sourceforge.net/$name/$name-$version.tar.bz2
10 lircd.rc lirc.patch)
11
12 build() {
13 cd lirc-$version
14
15 patch -p1 -i $SRC/lirc.patch
16 autoreconf -fi
17 automake -ac
18
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var
24 make
25 make DESTDIR=$PKG install
26
27 # bogus symlink
28 rm -f $PKG/usr/bin/lirc-setup $PKG/usr/share/man/man1/lirc-setup.1
29
30 # init script
31 install -D -m 755 $SRC/lircd.rc $PKG/etc/rc.d/lircd
32
33 # remove cruft
34 rm -fr $PKG/configs $PKG/usr/share/doc $PKG/var $PKG/etc/lirc/lircd.conf.d/README.conf.d $PKG/usr/lib/lirc/plugins/*.la $PKG/lib/systemd
35 }
|