From 7e101173df01ab1a49bac814e2757ac5025500d2 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 12 Jan 2012 19:36:29 +0100 Subject: package/bash: add choice for --with-curses option --- package/bash/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package') 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: -- cgit v1.2.3