1 # $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
3 include $(TOPDIR
)/rules.mk
5 PKG_NAME
:=udp-broadcast-relay
8 PKG_MD5SUM
:=a32f983b7063d6ac670e6b22be9b9d24
10 PKG_SOURCE_URL
:=http
://www.joachim-breitner.de
/udp-broadcast-relay
/files
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,UDP_BROADCAST_RELAY
,udp-broadcast-relay
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(TARGET_CC
) $(PKG_BUILD_DIR
)/main.c
-o
$(PKG_BUILD_DIR
)/$(PKG_NAME
)
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
)
34 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
35 rm -f
$(PKG_BUILD_DIR
)/.built