1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= udp-broadcast-relay
7 PKG_VERSION
:= 9a0f13b4b5938bfe0af0d0d4e99dfc127c068e28
10 PKG_DESCR
:= listens for packets on a specified udp broadcast port
11 PKG_SECTION
:= net
/misc
12 PKG_URL
:= http
://www.joachim-breitner.de
/udp-broadcast-relay
/
13 PKG_SITES
:= https
://github.com
/nomeata
/udp-broadcast-relay.git
15 include ${ADK_TOPDIR}/mk
/package.mk
17 $(eval
$(call PKG_template
,UDP_BROADCAST_RELAY
,udp-broadcast-relay
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 INSTALL_STYLE
:= manual
24 ${TARGET_CC} -Wall
${TARGET_CFLAGS} ${WRKBUILD}/main.c \
25 -o
${WRKBUILD}/udp-broadcast-relay
28 ${INSTALL_DIR} ${IDIR_UDP_BROADCAST_RELAY}/usr
/sbin
29 ${INSTALL_BIN} ${WRKBUILD}/udp-broadcast-relay \
30 ${IDIR_UDP_BROADCAST_RELAY}/usr
/sbin
/
32 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk