Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031
  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:= igmpproxy
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= ee18ff3d8c3ae3a29dccb7e5eedf332337330020168bd95a11cece8d7d7ee6ae
  8. PKG_DESCR:= simple dynamic multicast routing daemon
  9. PKG_SECTION:= net/route
  10. PKG_URL:= http://sourceforge.net/projects/igmpproxy/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=igmpproxy/}
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  13. PKG_CFLINE_IGMPPROXY:= select ADK_KERNEL_IP_MULTICAST@
  14. PKG_CFLINE_IGMPPROXY+= select ADK_KERNEL_IP_MROUTE
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IGMPPROXY,igmpproxy,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS+= -std=gnu99
  18. igmpproxy-install:
  19. ${INSTALL_DIR} ${IDIR_IGMPPROXY}/usr/sbin ${IDIR_IGMPPROXY}/etc
  20. ${INSTALL_BIN} ${WRKINST}/usr/sbin/igmpproxy ${IDIR_IGMPPROXY}/usr/sbin
  21. ${INSTALL_DATA} ${WRKINST}/etc/igmpproxy.conf ${IDIR_IGMPPROXY}/etc
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk