1
0

Makefile 1003 B

1234567891011121314151617181920212223242526272829
  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. TARGET_CFLAGS+= -std=gnu99
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin ${IDIR_IGMPPROXY}/etc
  19. ${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy ${IDIR_IGMPPROXY}/usr/sbin
  20. ${INSTALL_DATA} ${WRKINST}/etc/igmpproxy.conf ${IDIR_IGMPPROXY}/etc
  21. include ${TOPDIR}/mk/pkg-bottom.mk