|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../lirc/lirc.conf |
|
|
|
|
# Copyright (C) 2011 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
@ -19,7 +20,9 @@ lirc_install ()
|
|
|
|
|
{ |
|
|
|
|
mkdir -p $datadir/lirc |
|
|
|
|
cp -av contrib/{irman2lirc,lircd.conf,lircmd.conf,lircrc,lircs} $datadir/lirc |
|
|
|
|
[ -d $sysconfdir/udev/rules.d ] && cp -av contrib/lirc.rules $root/etc/udev/rules.d |
|
|
|
|
if pkginstalled -f udev; then |
|
|
|
|
cp -av contrib/lirc.rules $( pkgprefix libdir udev )/udev/rules.d/ |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
hook_add postmake 5 "lirc_install" |
|
|
|
|