1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2.0beta
.5
13 PKG_MD5SUM
:=8289d5ca5b972333a72bc0fc3e640c13
14 PKG_SOURCE_URL
:=http
://heyu.tanj.com
/download
/
15 PKG_SOURCE
:=heyu-
$(PKG_VERSION
).tgz
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=X10 home automation control using a CM11A
26 DESCRIPTION
:=10 home automation control using the CM11A serial device.
27 URL
:=http
://heyu.tanj.com
/heyu2
/
30 define Package
/heyu
/conffiles
35 $(call Build
/Compile
/Default
, CFLAGS
="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ")
38 define Package
/heyu
/install
39 install -d
-m0755
$(1)/etc
/$(PKG_NAME
)
40 install -m0644 .
/files
/x10.conf
$(1)/etc
/$(PKG_NAME
)/x10.conf
41 install -d
-m0755
$(1)/usr
/bin
42 install -m0644
$(PKG_BUILD_DIR
)/heyu
$(1)/usr
/bin
/
45 $(eval
$(call BuildPackage
,heyu
))