Makefile 934 B

1234567891011121314151617181920212223242526
  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
  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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. do-build:
  15. ${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/main.c -o ${WRKBUILD}/${PKG_NAME}
  16. do-install:
  17. ${INSTALL_DIR} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin
  18. ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_UDP_BROADCAST_RELAY}/usr/sbin/
  19. include ${TOPDIR}/mk/pkg-bottom.mk