Makefile 1003 B

123456789101112131415161718192021222324252627282930
  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:= igmpproxy
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= c56f41ec195bc1fe016369bf74efc5a1
  8. PKG_DESCR:= a simple dynamic Multicast Routing Daemon
  9. PKG_SECTION:= proxy
  10. PKG_URL:= http://sourceforge.net/projects/igmpproxy/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
  12. PKG_CFLINE_IGMPPROXY:= select ADK_KERNEL_IP_MULTICAST@
  13. PKG_CFLINE_IGMPPROXY+= select ADK_KERNEL_IP_MROUTE
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,IGMPPROXY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TCFLAGS+= -std=gnu99
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin ${IDIR_IGMPPROXY}/etc
  19. ${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy \
  20. ${IDIR_IGMPPROXY}/usr/sbin/
  21. ${INSTALL_DATA} ${WRKINST}/etc/igmpproxy.conf ${IDIR_IGMPPROXY}/etc
  22. include ${TOPDIR}/mk/pkg-bottom.mk