2014-07-08 16:23:10 +02: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)
2014-07-08 16:23:10 +02:00
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME = "libevdev"
2016-12-21 13:19:06 +00:00
PKG_VERSION = "1.5.5"
2014-07-08 16:23:10 +02:00
PKG_ARCH = "any"
PKG_LICENSE = "GPL"
PKG_SITE = "http://www.freedesktop.org/wiki/Software/libevdev/"
PKG_URL = " http://www.freedesktop.org/software/libevdev/ $PKG_NAME - $PKG_VERSION .tar.xz "
PKG_DEPENDS_TARGET = "toolchain"
PKG_SECTION = "system"
PKG_SHORTDESC = "libevdev: a wrapper library for evdev devices."
PKG_LONGDESC = "libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc."
PKG_IS_ADDON = "no"
2016-10-21 17:47:53 +02:00
PKG_AUTORECONF = "no"
2014-07-08 16:23:10 +02:00
2015-02-23 21:44:14 -08:00
PKG_CONFIGURE_OPTS_TARGET = "--enable-shared --disable-static"
2014-07-08 16:23:10 +02:00
2014-08-25 22:10:02 +03:00
p r e _ c o n f i g u r e _ t a r g e t ( ) {
export CFLAGS = " $CFLAGS -fPIC -DPIC "
}
2014-07-08 16:23:10 +02:00
p o s t _ m a k e i n s t a l l _ t a r g e t ( ) {
rm -rf $INSTALL /usr/bin
}