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
12 PKG_VERSION
:=2.0beta
.5
15 PKG_SOURCE
:=heyu-
$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://heyu.tanj.com
/download
/
17 PKG_MD5SUM
:=8289d5ca5b972333a72bc0fc3e640c13
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=X10 home automation control using a CM11A
29 URL
:=http
://heyu.tanj.com
/heyu2
/
32 define Package
/heyu
/conffiles
37 $(call Build
/Compile
/Default
, \
38 CFLAGS
="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
42 define Package
/heyu
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/heyu
$(1)/usr
/bin
/
45 $(INSTALL_DIR
) $(1)/etc
/$(PKG_NAME
)
46 $(INSTALL_DATA
) .
/files
/x10.conf
$(1)/etc
/$(PKG_NAME
)/x10.conf
49 $(eval
$(call BuildPackage
,heyu
))