Added httping
[openwrt.git] / package / udp-broadcast-relay / Makefile
1 # $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=udp-broadcast-relay
6 PKG_VERSION:=0.3
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=a32f983b7063d6ac670e6b22be9b9d24
9
10 PKG_SOURCE_URL:=http://www.joachim-breitner.de/udp-broadcast-relay/files/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(TARGET_CC) $(PKG_BUILD_DIR)/main.c -o $(PKG_BUILD_DIR)/$(PKG_NAME)
25 touch $@
26
27 $(IPKG_UDP_BROADCAST_RELAY):
28 mkdir -p $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin
29 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/
30 $(STRIP) $(IDIR_UDP_BROADCAST_RELAY)/usr/sbin/*
31 $(IPKG_BUILD) $(IDIR_UDP_BROADCAST_RELAY) $(PACKAGE_DIR)
32
33 mostlyclean:
34 $(MAKE) -C $(PKG_BUILD_DIR) clean
35 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.038906 seconds and 5 git commands to generate.