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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= udp-broadcast-relay
  5. PKG_VERSION:= 0.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 86acb9a359cad1961bdd4be9ae425222c19fd70fc31c730bd2b96629eaba2177
  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 ${ADK_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk