2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-21 04:30:09 +02:00
|
|
|
#
|
|
|
|
# input-event-daemon
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-04-21 04:30:09 +02:00
|
|
|
|
|
|
|
INPUT_EVENT_DAEMON_VERSION = v0.1.3
|
2013-12-05 18:20:46 +01:00
|
|
|
INPUT_EVENT_DAEMON_SITE = $(call github,gandro,input-event-daemon,$(INPUT_EVENT_DAEMON_VERSION))
|
2012-08-06 04:21:22 +02:00
|
|
|
INPUT_EVENT_DAEMON_LICENSE = input-event-daemon license
|
|
|
|
INPUT_EVENT_DAEMON_LICENSE_FILES = README
|
2011-04-21 04:30:09 +02:00
|
|
|
|
|
|
|
define INPUT_EVENT_DAEMON_BUILD_CMDS
|
|
|
|
touch $(@D)/input-event-table.h
|
|
|
|
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 755 -D $(@D)/input-event-daemon \
|
|
|
|
$(TARGET_DIR)/usr/bin/input-event-daemon
|
|
|
|
[ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \
|
|
|
|
$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
|
|
|
|
$(TARGET_DIR)/etc/input-event-daemon.conf
|
|
|
|
[ -f $(TARGET_DIR)/etc/init.d/S99input-event-daemon ] || \
|
|
|
|
$(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S99input-event-daemon
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|