2014-07-08 16:23:10 +02:00
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# 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"
PKG_VERSION = "1.2.2"
PKG_REV = "1"
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_PRIORITY = "optional"
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"
PKG_AUTORECONF = "yes"
PKG_CONFIGURE_OPTS_TARGET = "--disable-shared --enable-static"
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
}