1
0

Makefile 1010 B

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:= watchdog
  5. PKG_VERSION:= 5.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 66480128b9dabcced2e4c8db3e60fa50
  8. PKG_DESCR:= watchdog daemon
  9. PKG_SECTION:= sys
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=watchdog/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,WATCHDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIGURE_STYLE:= gnu
  14. XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \
  15. INCLS="-I. -I${STAGING_DIR}/usr/include" \
  16. LIBS="-L${STAGING_DIR}/usr/lib"
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_WATCHDOG}/usr/sbin ${IDIR_WATCHDOG}/etc/
  21. ${INSTALL_DATA} ${WRKINST}/etc/watchdog.conf ${IDIR_WATCHDOG}/etc/
  22. ${INSTALL_BIN} ${WRKINST}/usr/sbin/watchdog \
  23. ${WRKINST}/usr/sbin/wd_keepalive ${IDIR_WATCHDOG}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk