2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://heyu.tanj.com
/download
/
17 PKG_MD5SUM
:=af3eeeaa8c432e5b3510f4df6dd39f4f
19 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=X10 home automation control using a CM11A
26 URL
:=http
://heyu.tanj.com
/heyu2
/
29 define Package
/heyu
/description
30 HEYU is a text-based console program for remotely controlling lights
31 and appliances in the home or office. It is made available under a
32 free and open source license.
34 Heyu uses the CM11A computer interface to send and receive X10 control
35 signals over the AC power lines to modules which can turn On
, Off
, or
36 Dim attached lamps or appliances. It can store a schedule of timed
37 events in the CM11A memory for execution when the computer is turned
41 define Package
/heyu
/conffiles
46 $(call Build
/Compile
/Default
, \
47 CFLAGS
="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
51 define Package
/heyu
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/heyu
$(1)/usr
/bin
/
54 $(INSTALL_DIR
) $(1)/etc
/$(PKG_NAME
)
55 $(INSTALL_DATA
) .
/files
/x10.conf
$(1)/etc
/$(PKG_NAME
)/x10.conf
58 $(eval
$(call BuildPackage
,heyu
))