1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
12 PKG_SOURCE_URL
:=http
://www.freedesktop.org
/software
/libevdev
/
13 PKG_HASH
:=ecec7e9d66b1d3692f10b3b20aa97fb25e874a784c5552a7b1698091fef5a688
16 PKG_LICENSE_FILES
:=COPYING
17 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/libevdev
27 TITLE
:=a wrapper library for evdev devices
28 URL
:=http
://www.freedesktop.org
/wiki
/Software
/libevdev
/
31 define Package
/libevdev
/description
32 libevdev is a wrapper library for evdev devices. it moves the common
33 tasks when dealing with evdev devices into a library and provides a
34 library interface to the callers
, thus avoiding erroneous ioctls
, etc.
36 The eventual goal is that libevdev wraps
all ioctls available to
37 evdev devices
, thus making direct access unnecessary.
40 define Build
/InstallDev
41 $(INSTALL_DIR
) $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
43 $(INSTALL_DIR
) $(1)/usr
/lib
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{a
,so
*} $(1)/usr
/lib
/
45 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
46 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* $(1)/usr
/lib
/pkgconfig
/
49 define Package
/libevdev
/install
50 $(INSTALL_DIR
) $(1)/usr
/lib
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* $(1)/usr
/lib
/
54 $(eval
$(call BuildPackage
,libevdev
))