summaryrefslogtreecommitdiff
path: root/bash/bash_2.05b.oe
blob: 3c1b0a8ca4b61323261062b9825be6a991bbe259 (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
DEPENDS = virtual/libc ncurses
RDEPENDS = libc6 libncurses5

SRC_URI = ${GNU_MIRROR}/bash/bash-2.05b.tar.gz \
	  file://${FILESDIR}/make.patch;patch=1 \
	  file://${FILESDIR}/configure.patch;patch=1

inherit autotools

bindir=/bin
sbindir=/sbin

EXTRA_OECONF = --with-curses
BUILD_CPPFLAGS_append = " -I${S} -I${S}/include"
BUILD_CFLAGS_append = " -I${S} -I${S}/include"
export CFLAGS_FOR_BUILD=${BUILD_CFLAGS}
export CPPFLAGS_FOR_BUILD=${BUILD_CPPFLAGS}
export LDFLAGS_FOR_BUILD=${BUILD_LDFLAGS}
export CC_FOR_BUILD=${BUILD_CC}
do_configure_prepend () {
	if [ ! -e acinclude.m4 ]; then
		mv aclocal.m4 acinclude.m4
	fi
	support/mkconffiles
}