Makefile 761 B

1234567891011121314151617181920212223242526
  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
  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. BUILD_STYLE:= auto
  14. MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS}
  15. ALL_TARGET:= vnstat
  16. do-install:
  17. ${INSTALL_DIR} ${IDIR_VNSTAT}/usr/bin
  18. ${INSTALL_BIN} ${WRKBUILD}/src/vnstat ${IDIR_VNSTAT}/usr/bin/
  19. include ${TOPDIR}/mk/pkg-bottom.mk