Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= udp-broadcast-relay
  5. PKG_VERSION:= 0.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a32f983b7063d6ac670e6b22be9b9d24
  8. PKG_DESCR:= listens for packets on a specified UDP broadcast port
  9. PKG_SECTION:= net/misc
  10. PKG_URL:= http://www.joachim-breitner.de/udp-broadcast-relay/
  11. PKG_SITES:= http://www.joachim-breitner.de/udp-broadcast-relay/files/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. BUILD_STYLE:= manual
  16. INSTALL_STYLE:= manual
  17. do-build:
  18. ${TARGET_CC} -Wall ${TARGET_CFLAGS} ${WRKBUILD}/main.c \
  19. -o ${WRKBUILD}/udp-broadcast-relay
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/udp-broadcast-relay \
  23. ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk