Makefile 967 B

1234567891011121314151617181920212223242526272829303132
  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:= bwm
  5. PKG_VERSION:= 1.1.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 409bada2fcfd79351620de44c6aad2145313e3f3088f60c9bd9da575be3946ee
  8. PKG_DESCR:= very tiny bandwidth monitor
  9. PKG_SECTION:= net/perf
  10. PKG_SITES:= http://ftp.debian.org/debian/pool/main/b/bwm/
  11. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.orig.tar.gz
  12. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}.orig
  13. include ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,BWM,bwm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-build:
  19. ${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/bwm.c -o ${WRKBUILD}/bwm
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_BWM}/usr/bin
  22. ${INSTALL_BIN} ${WRKBUILD}/bwm ${IDIR_BWM}/usr/bin/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk