Makefile 894 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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= vnstat
  5. PKG_VERSION:= 1.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 2f63c326b34e92254552bd69772dcd8e24e9cc216ccfa182c9fa2523c37fcf37
  8. PKG_DESCR:= console-based network traffic monitor
  9. PKG_SECTION:= net/perf
  10. PKG_SITES:= http://humdi.net/vnstat/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,VNSTAT,vnstat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  17. ALL_TARGET:= vnstat
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_VNSTAT}/usr/bin
  20. ${INSTALL_BIN} ${WRKBUILD}/src/vnstat ${IDIR_VNSTAT}/usr/bin/
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk