2011-01-09 18:42:04 +01:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2016-01-02 17:29:56 +01:00
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2011-01-09 18:42:04 +01:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
2011-01-09 18:42:04 +01:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2013-12-21 21:51:48 +01:00
|
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
2011-01-09 18:42:04 +01:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
2011-01-09 18:42:04 +01:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2013-12-21 21:51:48 +01:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2011-01-09 18:42:04 +01:00
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2013-12-21 21:51:48 +01:00
|
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
2011-01-09 18:42:04 +01:00
|
|
|
################################################################################
|
|
|
|
|
|
2010-08-02 14:47:46 +02:00
|
|
|
PKG_NAME="lirc"
|
2016-06-16 15:07:56 -07:00
|
|
|
PKG_VERSION="0.9.4"
|
2010-08-02 14:47:46 +02:00
|
|
|
PKG_REV="1"
|
|
|
|
|
PKG_ARCH="any"
|
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
|
PKG_SITE="http://www.lirc.org"
|
2010-12-16 13:46:36 +01:00
|
|
|
PKG_URL="$SOURCEFORGE_SRC/lirc/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
2016-06-16 15:07:56 -07:00
|
|
|
PKG_DEPENDS_TARGET="toolchain libftdi1 libusb-compat libxslt"
|
2010-11-14 14:43:57 +01:00
|
|
|
PKG_SECTION="sysutils/remote"
|
2010-08-02 14:47:46 +02:00
|
|
|
PKG_SHORTDESC="lirc: Linux Infrared Remote Control"
|
|
|
|
|
PKG_LONGDESC="LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls."
|
2010-11-25 18:15:07 +01:00
|
|
|
|
2013-12-25 21:02:33 +01:00
|
|
|
PKG_IS_ADDON="no"
|
|
|
|
|
PKG_AUTORECONF="yes"
|
|
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_path_LIBUSB_CONFIG= /
|
|
|
|
|
ac_cv_func_forkpty=no \
|
|
|
|
|
ac_cv_lib_util_forkpty=no \
|
2016-06-16 15:07:56 -07:00
|
|
|
ac_cv_prog_HAVE_PYTHON3=no \
|
2014-11-11 11:54:22 +01:00
|
|
|
--localstatedir=/ \
|
2013-12-25 21:02:33 +01:00
|
|
|
--with-gnu-ld \
|
2016-06-16 15:07:56 -07:00
|
|
|
--without-x"
|
2013-12-25 21:02:33 +01:00
|
|
|
|
|
|
|
|
post_makeinstall_target() {
|
|
|
|
|
rm -rf $INSTALL/usr/bin/pronto2lirc
|
2016-06-16 15:07:56 -07:00
|
|
|
rm -rf $INSTALL/usr/bin/lirc-setup
|
|
|
|
|
rm -rf $INSTALL/usr/sbin/lircd-setup
|
|
|
|
|
rm -rf $INSTALL/usr/lib/python3.4
|
|
|
|
|
rm -rf $INSTALL/usr/lib/systemd
|
|
|
|
|
rm -rf $INSTALL/lib
|
|
|
|
|
rm -rf $INSTALL/usr/share
|
|
|
|
|
rm -rf $INSTALL/etc
|
2013-12-25 21:02:33 +01:00
|
|
|
|
|
|
|
|
mkdir -p $INSTALL/etc/lirc
|
2016-05-05 01:23:04 -07:00
|
|
|
cp $PKG_DIR/config/lircd.conf.* $INSTALL/etc/lirc
|
2014-03-08 02:40:54 +01:00
|
|
|
|
2016-03-11 22:31:41 +01:00
|
|
|
mkdir -p $INSTALL/usr/lib/libreelec
|
|
|
|
|
cp $PKG_DIR/scripts/lircd_helper $INSTALL/usr/lib/libreelec
|
2014-03-09 22:27:09 +01:00
|
|
|
|
2014-03-08 02:40:54 +01:00
|
|
|
mkdir -p $INSTALL/usr/lib/udev
|
|
|
|
|
cp $PKG_DIR/scripts/lircd_wakeup_enable $INSTALL/usr/lib/udev
|
2016-11-04 01:39:33 -07:00
|
|
|
|
|
|
|
|
mkdir -p $INSTALL/usr/share/services
|
|
|
|
|
cp -P $PKG_DIR/default.d/*.conf $INSTALL/usr/share/services
|
2013-12-25 21:02:33 +01:00
|
|
|
}
|