1
0

Makefile 860 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:= bwm
  5. PKG_VERSION:= 1.1.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 51021a036acb92d2bda0c0c0483f9552
  8. PKG_DESCR:= A very tiny bandwidth monitor
  9. PKG_SECTION:= net
  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 ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,BWM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. do-build:
  16. ${TARGET_CC} ${TARGET_CFLAGS} ${WRKBUILD}/bwm.c -o ${WRKBUILD}/bwm
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_BWM}/usr/bin
  19. ${INSTALL_BIN} ${WRKBUILD}/bwm ${IDIR_BWM}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk