summaryrefslogtreecommitdiff
path: root/package/udp-broadcast-relay
diff options
context:
space:
mode:
Diffstat (limited to 'package/udp-broadcast-relay')
-rw-r--r--package/udp-broadcast-relay/Config.in12
-rw-r--r--package/udp-broadcast-relay/Makefile10
2 files changed, 8 insertions, 14 deletions
diff --git a/package/udp-broadcast-relay/Config.in b/package/udp-broadcast-relay/Config.in
deleted file mode 100644
index 9a729f14f..000000000
--- a/package/udp-broadcast-relay/Config.in
+++ /dev/null
@@ -1,12 +0,0 @@
-config ADK_PACKAGE_UDP_BROADCAST_RELAY
- prompt "udp-broadcast-relay............... listens for packets on a specified UDP broadcast port."
- tristate
- default n
- help
- This program listens for packets on a specified UDP broadcast port. When a packet is received, it sends that packet to all specified interfaces but the one it came from as though it originated from the original sender.
-
- The primary purpose of this is to allow games on machines on separated local networks (Ethernet, WLAN) that use udp broadcasts to find each other to do so.
-
- It also works on ppp links, so you can log in from windows boxes (e.g. using pptp) and play LAN-based games together. Currently, you have to care about upcoming or downgoing interfaces yourself.
-
- http://www.joachim-breitner.de/udp-broadcast-relay/
diff --git a/package/udp-broadcast-relay/Makefile b/package/udp-broadcast-relay/Makefile
index cae0bb095..d2d4bd86b 100644
--- a/package/udp-broadcast-relay/Makefile
+++ b/package/udp-broadcast-relay/Makefile
@@ -16,11 +16,17 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,UDP_BROADCAST_RELAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
do-build:
- ${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/main.c -o ${WRKBUILD}/${PKG_NAME}
+ ${TARGET_CC} -Wall ${TARGET_CFLAGS} ${WRKBUILD}/main.c \
+ -o ${WRKBUILD}/udp-broadcast-relay
do-install:
${INSTALL_DIR} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin
- ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
+ ${INSTALL_BIN} ${WRKBUILD}/udp-broadcast-relay \
+ ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk