1
0

Makefile 809 B

12345678910111213141516171819202122232425262728
  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. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,VNSTAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. INSTALL_STYLE:= manual
  15. MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  16. ALL_TARGET:= vnstat
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_VNSTAT}/usr/bin
  19. ${INSTALL_BIN} ${WRKBUILD}/src/vnstat ${IDIR_VNSTAT}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk