2 # Copyright (C) 2007-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=http
://www.freedesktop.org
/software
/libevdev
/
16 PKG_MD5SUM
:=9b3f25bd8fb0f8efa4944d34668dddc0
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libevdev
30 TITLE
:=a wrapper library for evdev devices
31 URL
:=http
://www.freedesktop.org
/wiki
/Software
/libevdev
/
34 define Package
/libevdev
/description
35 libevdev is a wrapper library for evdev devices. it moves the common
36 tasks when dealing with evdev devices into a library and provides a
37 library interface to the callers
, thus avoiding erroneous ioctls
, etc.
39 The eventual goal is that libevdev wraps
all ioctls available to
40 evdev devices
, thus making direct access unnecessary.
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/include
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{a
,so
*} $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* $(1)/usr
/lib
/pkgconfig
/
52 define Package
/libevdev
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
57 $(eval
$(call BuildPackage
,libevdev
))