1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,UDP_BROADCAST_RELAY,udp-broadcast-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-build:
  19. ${TARGET_CC} -Wall ${TARGET_CFLAGS} ${WRKBUILD}/main.c \
  20. -o ${WRKBUILD}/udp-broadcast-relay
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin
  23. ${INSTALL_BIN} ${WRKBUILD}/udp-broadcast-relay \
  24. ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk