summaryrefslogtreecommitdiffstats
path: root/openwrt/package/udp-broadcast-relay/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 11:57:57 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-01 11:57:57 +0000
commit95f8383374a66eda7eedc79a2a489aa5628f9ceb (patch)
treeb9ffc9442b3e69e8213e5139e4e8ce6bbfd3c05b /openwrt/package/udp-broadcast-relay/Makefile
parent97a03e4ee5550f7396a33acf12a40ae3f8d6d2f1 (diff)
Added udp-broadcast-relay, corrected missing Makefile lines for tinyproxy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3108 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/udp-broadcast-relay/Makefile')
-rw-r--r--openwrt/package/udp-broadcast-relay/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/openwrt/package/udp-broadcast-relay/Makefile b/openwrt/package/udp-broadcast-relay/Makefile
new file mode 100644
index 000000000..99033e24c
--- /dev/null
+++ b/openwrt/package/udp-broadcast-relay/Makefile
@@ -0,0 +1,35 @@
+# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=udp-broadcast-relay
+PKG_VERSION:=0.3
+PKG_RELEASE:=1
+PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24
+
+PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(TARGET_CC) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
+ touch $@
+
+$(IPKG_UDP_BROADCAST_RELAY):
+ mkdir -p $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin
+ cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/
+ $(STRIP) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/*
+ $(IPKG_BUILD) $(IDIR_UDP_BROADCAST_RELAY) $(PACKAGE_DIR)
+
+mostlyclean:
+ $(MAKE) -C $(PKG_BUILD_DIR) clean
+ rm -f $(PKG_BUILD_DIR)/.built