massive Makefile cleanup, add missing 'svn:keywords' property
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
@ -10,12 +11,14 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=heyu
|
||||
PKG_VERSION:=2.0beta.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
|
||||
PKG_SOURCE_URL:=http://heyu.tanj.com/download/
|
||||
|
||||
PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=http://heyu.tanj.com/download/
|
||||
PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/heyu
|
||||
@ -23,7 +26,6 @@ define Package/heyu
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+setserial
|
||||
TITLE:=X10 home automation control using a CM11A
|
||||
DESCRIPTION:=10 home automation control using the CM11A serial device.
|
||||
URL:=http://heyu.tanj.com/heyu2/
|
||||
endef
|
||||
|
||||
@ -32,14 +34,16 @@ define Package/heyu/conffiles
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ")
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/heyu/install
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
install -m0755 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
|
||||
install -d -m0755 $(1)/etc/$(PKG_NAME)
|
||||
install -m0644 ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
|
||||
install -d -m0755 $(1)/usr/bin
|
||||
install -m0644 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,heyu))
|
||||
|
Reference in New Issue
Block a user