Makefile 882 B

123456789101112131415161718192021222324252627282930
  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:= fping
  5. PKG_VERSION:= 2.4b2_to
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d5e8be59e307cef76bc479e1684df705
  8. PKG_DESCR:= A program to ping hosts in parallel
  9. PKG_SECTION:= net
  10. PKG_URL:= http://fping.sourceforge.net
  11. PKG_SITES:= http://fping.sourceforge.net/download/
  12. DISTFILES:= ${PKG_NAME}.tar.gz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,FPING,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  16. do-build:
  17. ${MAKE} CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}" -C ${WRKBUILD} ${PKG_NAME}
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_FPING}/usr/bin
  20. ${CP} ${WRKBUILD}/${PKG_NAME} ${IDIR_FPING}/usr/bin/${PKG_NAME}
  21. include ${TOPDIR}/mk/pkg-bottom.mk