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:=20051128-143821
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:=3f8504c769c41de0456baaaca1484fa6
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 rm -rf $(PKG_INSTALL_DIR)
31 mkdir -p $(PKG_INSTALL_DIR)
32 $(MAKE) -C "$(PKG_BUILD_DIR)" \
33 $(TARGET_CONFIGURE_OPTS) \
34 CFLAGS="$(TARGET_CFLAGS)" \
39 define Package/input-utils/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/input-events $(1)/usr/bin/
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/input-kbd $(1)/usr/bin/
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lsinput $(1)/usr/bin/
47 $(eval $(call BuildPackage,input-utils))