Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= dialog
  5. PKG_VERSION:= 1.3-20160126
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 308ab0bc63eb525c852c85ad4aa8645c84277ea2f7fca19ef4cafafc08415ae3
  8. PKG_DESCR:= text gui interface
  9. PKG_SECTION:= sys/misc
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://invisible-island.net/dialog/dialog.html
  13. PKG_SITES:= ftp://invisible-island.net/dialog/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,DIALOG,dialog,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. MAKE_FILE:= makefile
  18. # Should detect this automatically but while doing so it tries to add /lib64 which breaks build so specify this explicitely
  19. CONFIGURE_ARGS+= --with-ncurses
  20. dialog-install:
  21. $(INSTALL_DIR) $(IDIR_DIALOG)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/dialog $(IDIR_DIALOG)/usr/bin
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk