Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 81348932d5da294953e15d4814c74dd1
  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 $(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. --cache-file=/dev/null \
  24. --enable-job-control \
  25. --enable-history
  26. ifneq (${ADK_PACKAGE_BASH_WITH_CURSES},)
  27. CONFIGURE_ARGS+= --with-curses
  28. endif
  29. XAKE_FLAGS+= LIBS_FOR_BUILD=''
  30. bash-install:
  31. $(INSTALL_DIR) $(IDIR_BASH)/bin
  32. $(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk