2006-10-30 13:51:50 +00:00
|
|
|
#
|
2006-08-02 08:29:39 +00:00
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=heyu
|
2007-12-09 20:49:45 +00:00
|
|
|
PKG_VERSION:=2.1.3
|
2006-08-02 08:29:39 +00:00
|
|
|
PKG_RELEASE:=1
|
2006-10-30 13:51:50 +00:00
|
|
|
|
2006-08-02 08:29:39 +00:00
|
|
|
PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://heyu.tanj.com/download/
|
2007-12-09 20:49:45 +00:00
|
|
|
PKG_MD5SUM:=d40f4ebf7d42fb896e7c6300227906eb
|
2006-08-02 08:29:39 +00:00
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
2006-08-02 08:29:39 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/heyu
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+setserial
|
|
|
|
TITLE:=X10 home automation control using a CM11A
|
|
|
|
URL:=http://heyu.tanj.com/heyu2/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/heyu/conffiles
|
|
|
|
/etc/heyu/x10.conf
|
|
|
|
endef
|
|
|
|
|
2006-08-18 21:21:06 +00:00
|
|
|
define Build/Compile
|
2006-10-30 13:51:50 +00:00
|
|
|
$(call Build/Compile/Default, \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
|
|
|
|
)
|
2006-08-02 08:29:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/heyu/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
|
|
|
$(INSTALL_DATA) ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
|
2006-08-02 08:29:39 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,heyu))
|