diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2012-01-12 19:36:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-01-15 11:06:39 +0100 |
commit | 7e101173df01ab1a49bac814e2757ac5025500d2 (patch) | |
tree | a336c35c4d9e1cde4a461dc08fd511f18c895492 /package | |
parent | 9616461df02f2ae50466a67926cf89c0577ae748 (diff) |
package/bash: add choice for --with-curses option
Diffstat (limited to 'package')
-rw-r--r-- | package/bash/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/package/bash/Makefile b/package/bash/Makefile index 7b3767db9..dc5c5b911 100644 --- a/package/bash/Makefile +++ b/package/bash/Makefile @@ -5,13 +5,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:= bash PKG_VERSION:= 4.2 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 3fb927c7c33022f1c327f14a81c0d4b0 PKG_DESCR:= Bourne-Again SHell PKG_SECTION:= shells PKG_URL:= http://www.gnu.org/software/bash/ PKG_SITES:= http://ftp.gnu.org/gnu/bash/ +PKG_CHOICES_BASH:= WITH_CURSES WITH_TERMCAP +PKGCD_WITH_CURSES:= use curses library instead of termcap +PKGCS_WITH_CURSES:= libncurses +PKGCB_WITH_CURSES:= ncurses +PKGCD_WITH_TERMCAP:= use termcap library instead of curses + include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,BASH,bash,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -22,6 +28,9 @@ CONFIGURE_ARGS+= --disable-rpath \ --cache-file=/dev/null \ --enable-job-control \ --enable-history +ifneq (${ADK_PACKAGE_BASH_WITH_CURSES},) +CONFIGURE_ARGS+= --with-curses +endif XAKE_FLAGS+= LIBS_FOR_BUILD='' bash-install: |