1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
9 PKG_RELEASE
:=$(AUTORELEASE
)
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
12 PKG_SOURCE_URL
:=https
://www.freedesktop.org
/software
/libevdev
/
13 PKG_HASH
:=9edf2006cc86a5055279647c38ec923d11a821ee4dc2c3033e8d20e8ee237cd9
15 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
17 PKG_LICENSE_FILES
:=COPYING
19 include $(INCLUDE_DIR
)/package.mk
20 include $(INCLUDE_DIR
)/meson.mk
22 define Package
/libevdev
25 TITLE
:=a wrapper library for evdev devices
26 URL
:=https
://www.freedesktop.org
/wiki
/Software
/libevdev
/
29 define Package
/libevdev
/description
30 libevdev is a wrapper library for evdev devices. it moves the common
31 tasks when dealing with evdev devices into a library and provides a
32 library interface to the callers
, thus avoiding erroneous ioctls
, etc.
34 The eventual goal is that libevdev wraps
all ioctls available to
35 evdev devices
, thus making direct access unnecessary.
40 -Ddocumentation
=disabled \
43 define Build
/InstallDev
44 $(INSTALL_DIR
) $(1)/usr
/include/libevdev-1.0
/libevdev
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libevdev-1.0
/libevdev
/*.h
$(1)/usr
/include/libevdev-1.0
/libevdev
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libevdev.so
* $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libevdev.
pc $(1)/usr
/lib
/pkgconfig
/
52 define Package
/libevdev
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libevdev.so.
* $(1)/usr
/lib
/
57 $(eval
$(call BuildPackage
,libevdev
))