1
0

Makefile 998 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:= htop
  5. PKG_VERSION:= 1.0.3
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829
  8. PKG_DESCR:= graphical process manager
  9. PKG_SECTION:= sys/utils
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://hisham.hm/htop
  13. PKG_SITES:= http://hisham.hm/htop/releases/$(PKG_VERSION)/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,HTOP,htop,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_LDFLAGS+= -ltinfo
  18. CONFIGURE_ENV+= ac_cv_file__proc_stat=yes \
  19. ac_cv_file__proc_meminfo=yes
  20. CONFIGURE_ARGS+= --disable-unicode
  21. htop-install:
  22. $(INSTALL_DIR) $(IDIR_HTOP)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/htop $(IDIR_HTOP)/usr/bin
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk