summaryrefslogtreecommitdiff
path: root/bash/bash_2.05b.oe
blob: 8e7561b327033b17d16fe0c4f5ed889c83c74075 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
DEPENDS = "ncurses"
DESCRIPTION = "An sh-compatible command language interpreter."
PR = "r1"

SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
           file://bashbug-editor.patch;patch=1;pnum=0 \
           file://deb-bash-config.patch;patch=1 \
           file://deb-examples.patch;patch=1;pnum=0 \
           file://man-arithmetic.patch;patch=1;pnum=0 \
           file://man-fignore.patch;patch=1;pnum=0 \
           file://man-bashrc.patch;patch=1 \
           file://privmode.patch;patch=1 \
           file://various.patch;patch=1 \
           file://report-155436.patch;patch=1;pnum=0 \
           file://bash205b-001.patch;patch=1;pnum=0 \
           file://bash205b-002.patch;patch=1;pnum=0 \
           file://bash205b-003.patch;patch=1;pnum=0 \
           file://bash205b-004.patch;patch=1;pnum=0 \
           file://bash205b-005.patch;patch=1;pnum=0 \
           file://bash205b-006.patch;patch=1;pnum=0 \
           file://bash205b-007.patch;patch=1;pnum=0 \
           file://rl-examples.patch;patch=1;pnum=0 \
           file://rl-inputrc.patch;patch=1 \
           file://rl-del-backspace-policy.patch;patch=1;pnum=0 \
           file://rl-8bit-init.patch;patch=1 \
           file://rl-slow-multibyte.patch;patch=1 \
           file://s390-build.patch;patch=1;pnum=0 \
           file://rbash-manpage.patch;patch=1;pnum=0 \
           file://rbash-login-shell.patch;patch=1 \
           file://execute-cmd.patch;patch=1 \
           file://builtins-shift.patch;patch=1;pnum=0 \
           file://suspend-segfault.patch;patch=1 \
           file://mailcheck.patch;patch=1 \
           file://autofoo.patch;patch=1 \
           file://gcc34.patch;patch=1"

inherit autotools update-alternatives

PROVIDES = "virtual/sh"
ALTERNATIVE_NAME = "sh"
ALTERNATIVE_PATH = "${bindir}/bash"

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 () {
	if [ ! -e acinclude.m4 ]; then
		mv aclocal.m4 acinclude.m4
	fi
	autotools_do_configure
}