Makefile 1.3 KB

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