summaryrefslogtreecommitdiff
path: root/package/bash
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-15 11:21:56 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-01-15 11:21:56 +0100
commit3dc180799c659b0a5006745f18562285d452a2c7 (patch)
tree767c2412a5a9ec36beb59417bd14702185062b68 /package/bash
parent59cc5c401fb0a8807ea86046ceb26d06dc3c25c7 (diff)
parent8a429213619e4fef7ac66d08d4c2c7926a5a7a5a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/bash')
-rw-r--r--package/bash/Makefile11
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: