blob: bfed5373c7af39192cc72432bd3ecf535a71de1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bash
PKG_VERSION:= 5.2.21
PKG_RELEASE:= 1
PKG_HASH:= c8e31bdc59b69aaffc5b36509905ba3e5cbb12747091d27b4b977f078560d5b8
PKG_DESCR:= bourne-again shell
PKG_SECTION:= base/shells
PKG_URL:= http://www.gnu.org/software/bash/
PKG_SITES:= http://ftp.gnu.org/gnu/bash/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
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 $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,BASH,bash,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_ENV+= bash_cv_getenv_redef=no \
bash_cv_job_control_missing=yes
CONFIGURE_ARGS+= --disable-rpath \
--without-bash-malloc \
--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:
$(INSTALL_DIR) $(IDIR_BASH)/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|