Makefile 813 B

1234567891011121314151617181920212223242526272829303132
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= vrrpd
  7. PKG_VERSION:= 1.0
  8. PKG_RELEASE:= 9
  9. PKG_MD5SUM:= 6d5066ea1a6ced817376ca0f54765447
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=vrrpd/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,VRRPD,vrrpd,${PKG_VERSION}-${PKG_RELEASE}))
  13. BUILD_STYLE:= auto
  14. MAKE_FLAGS:= CC="${TARGET_CC}" \
  15. DBG_OPT="" \
  16. MAIN_OPT="${TARGET_CFLAGS}"
  17. ALL_TARGET:= vrrpd
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_VRRPD}/etc/init.d/
  20. ${INSTALL_BIN} ./files/vrrpd.init \
  21. ${IDIR_VRRPD}/etc/init.d/vrrpd
  22. ${INSTALL_DIR} ${IDIR_VRRPD}/usr/sbin/
  23. ${INSTALL_BIN} ${WRKBUILD}/vrrpd ${IDIR_VRRPD}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk