Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= bash
  5. PKG_VERSION:= 4.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 3fb927c7c33022f1c327f14a81c0d4b0
  8. PKG_DESCR:= Bourne-Again SHell
  9. PKG_SECTION:= shells
  10. PKG_URL:= http://www.gnu.org/software/bash/
  11. PKG_SITES:= http://ftp.gnu.org/gnu/bash/
  12. PKG_CHOICES_BASH:= WITH_CURSES WITH_TERMCAP
  13. PKGCD_WITH_CURSES:= use curses library instead of termcap
  14. PKGCS_WITH_CURSES:= libncurses
  15. PKGCB_WITH_CURSES:= ncurses
  16. PKGCD_WITH_TERMCAP:= use termcap library instead of curses
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,BASH,bash,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ENV+= bash_cv_getenv_redef=no \
  20. bash_cv_job_control_missing=yes
  21. CONFIGURE_ARGS+= --disable-rpath \
  22. --cache-file=/dev/null \
  23. --enable-job-control \
  24. --enable-history
  25. ifneq (${ADK_PACKAGE_BASH_WITH_CURSES},)
  26. CONFIGURE_ARGS+= --with-curses
  27. endif
  28. XAKE_FLAGS+= LIBS_FOR_BUILD=''
  29. bash-install:
  30. $(INSTALL_DIR) $(IDIR_BASH)/bin
  31. $(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk