Makefile 852 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:= vnstat
  5. PKG_VERSION:= 1.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9184f79b5e60499bc059f670032291e5
  8. PKG_DESCR:= console-based network traffic monitor
  9. PKG_SECTION:= net/misc
  10. PKG_SITES:= http://humdi.net/vnstat/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  12. include ${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 ${TOPDIR}/mk/pkg-bottom.mk