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
:=heyu-
$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://heyu.tanj.com
/download
/
17 PKG_MD5SUM
:=d40f4ebf7d42fb896e7c6300227906eb
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=X10 home automation control using a CM11A
28 URL
:=http
://heyu.tanj.com
/heyu2
/
31 define Package
/heyu
/conffiles
36 $(call Build
/Compile
/Default
, \
37 CFLAGS
="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
41 define Package
/heyu
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
43 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/heyu
$(1)/usr
/bin
/
44 $(INSTALL_DIR
) $(1)/etc
/$(PKG_NAME
)
45 $(INSTALL_DATA
) .
/files
/x10.conf
$(1)/etc
/$(PKG_NAME
)/x10.conf
48 $(eval
$(call BuildPackage
,heyu
))