Makefile 913 B

1234567891011121314151617181920212223242526272829303132
  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:= vrrpd
  5. PKG_VERSION:= 1.0
  6. PKG_RELEASE:= 9
  7. PKG_MD5SUM:= 6d5066ea1a6ced817376ca0f54765447
  8. PKG_DESCR:= virtual router redundancy protocol daemon
  9. PKG_SECTION:= net/route
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vrrpd/}
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,VRRPD,vrrpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. MAKE_FLAGS:= CC="${TARGET_CC}" \
  17. DBG_OPT="" \
  18. MAIN_OPT="${TARGET_CFLAGS}"
  19. ALL_TARGET:= vrrpd
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_VRRPD}/usr/sbin/
  22. ${INSTALL_BIN} ${WRKBUILD}/vrrpd ${IDIR_VRRPD}/usr/sbin/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk