summaryrefslogtreecommitdiff
path: root/openwrt/package/heyu/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-07 01:08:49 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-07 01:08:49 +0000
commitc9efa8780d64bc2fd85d4e20eb102b65662bbcec (patch)
tree4abd545e3d05ba353d76a7b6921f435b6f050ecc /openwrt/package/heyu/Makefile
parente8f1d5e8765652308c8dab1a0779deb4bbc73c58 (diff)
Added heyu, thanks to Geoffrey Kruse, closes #131
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2851 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/heyu/Makefile')
-rw-r--r--openwrt/package/heyu/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/openwrt/package/heyu/Makefile b/openwrt/package/heyu/Makefile
new file mode 100644
index 0000000000..9262b46ea8
--- /dev/null
+++ b/openwrt/package/heyu/Makefile
@@ -0,0 +1,33 @@
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=heyu
+PKG_VERSION:=2.0beta.2
+PKG_RELEASE:=2
+PKG_MD5SUM:=b7bd60580f74998ae7733e4711942c74
+PKG_SOURCE_URL:=http://heyu.tanj.com/heyu2/
+PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT:=zcat
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,HEYU,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
+ CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ"
+ touch $@
+
+$(IPKG_HEYU):
+ install -d -m0755 $(IDIR_HEYU)/etc/$(PKG_NAME)
+ install -m0644 ./files/x10.conf $(IDIR_HEYU)/etc/$(PKG_NAME)/x10.conf
+ install -d -m0755 $(IDIR_HEYU)/usr/bin
+ install -m0644 $(PKG_BUILD_DIR)/heyu $(IDIR_HEYU)/usr/bin/
+ $(RSTRIP) $(IDIR_HEYU)
+ $(IPKG_BUILD) $(IDIR_HEYU) $(PACKAGE_DIR)