summaryrefslogtreecommitdiff
path: root/package/bash/Makefile
blob: 008d661a72f3398b58e5f7b5932a5ad216bf04b5 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		bash
PKG_VERSION:=		4.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		9800d8724815fd84994d9be65ab5e7b8
PKG_DESCR:=		Bourne-Again SHell
PKG_SECTION:=		shells
PKG_URL:=		http://www.gnu.org/software/bash/
PKG_SITES:=		http://ftp.gnu.org/gnu/bash/

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,BASH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		bash_cv_getenv_redef=no
CONFIGURE_ARGS+=	--disable-rpath \
			--cache-file=/dev/null
XAKE_FLAGS+=		LIBS_FOR_BUILD=''

post-install:
	$(INSTALL_DIR) $(IDIR_BASH)/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/

include ${TOPDIR}/mk/pkg-bottom.mk