2020-05-24 14:21:57 +00:00
|
|
|
# Description: Linux Infrared Remote Control
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://www.lirc.org/
|
2020-05-24 14:21:57 +00:00
|
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2020-05-25 22:21:27 +00:00
|
|
|
# Depends on: alsa-lib libxslt libusb-compat python3-setuptools xorg-libx11
|
2008-04-24 11:10:23 -04:30
|
|
|
|
|
|
|
name=lirc
|
2020-05-24 14:21:57 +00:00
|
|
|
version=0.10.1
|
|
|
|
release=1
|
|
|
|
source=(https://download.sourceforge.net/$name/$name-$version.tar.bz2
|
|
|
|
lircd.rc lirc.patch)
|
2008-04-24 11:10:23 -04:30
|
|
|
|
|
|
|
build() {
|
2020-05-24 14:21:57 +00:00
|
|
|
cd lirc-$version
|
2008-04-24 11:10:23 -04:30
|
|
|
|
2020-05-24 14:21:57 +00:00
|
|
|
patch -p1 -i $SRC/lirc.patch
|
|
|
|
autoreconf -fi
|
|
|
|
automake -ac
|
2008-04-24 11:10:23 -04:30
|
|
|
|
2020-05-24 14:21:57 +00:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--localstatedir=/var
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2015-02-06 13:58:02 +09:00
|
|
|
|
2020-05-24 14:21:57 +00:00
|
|
|
# bogus symlink
|
|
|
|
rm -f $PKG/usr/bin/lirc-setup $PKG/usr/share/man/man1/lirc-setup.1
|
2013-03-11 23:38:53 +09:00
|
|
|
|
2020-05-24 14:21:57 +00:00
|
|
|
# init script
|
|
|
|
install -D -m 755 $SRC/lircd.rc $PKG/etc/rc.d/lircd
|
2018-09-27 18:46:03 +09:00
|
|
|
|
2020-05-24 14:21:57 +00:00
|
|
|
# remove cruft
|
2020-07-10 11:37:32 +00:00
|
|
|
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 $PKG/lib $PKG/usr/share/lirc/python-pkg/README.rst
|
2008-04-24 11:10:23 -04:30
|
|
|
}
|