Makefile 1.0 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= igmpproxy
  5. PKG_VERSION:= 0.1
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= c56f41ec195bc1fe016369bf74efc5a1
  8. PKG_DESCR:= 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. 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 ${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 ${TOPDIR}/mk/pkg-bottom.mk