2 # Copyright (C) 2007,2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_VERSION
:=20081014-101501
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/input
/
14 PKG_SOURCE
:=input-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://dl.bytesex.org
/cvs-snapshots
/
16 PKG_MD5SUM
:=a6854dc5218301b67324b483d26f1bee
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/input-utils
23 TITLE
:=Utilities for the input layer of the Linux kernel
26 define Build
/Configure
30 $(MAKE
) -C
"$(PKG_BUILD_DIR)" \
31 $(TARGET_CONFIGURE_OPTS
) \
32 CFLAGS
="$(TARGET_CFLAGS)" \
37 define Package
/input-utils
/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/input-events
$(1)/usr
/bin
/
40 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/input-kbd
$(1)/usr
/bin
/
41 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/lsinput
$(1)/usr
/bin
/
45 $(eval
$(call BuildPackage
,input-utils
))