Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / bash / bash_2.05b.oe
1 DESCRIPTION = "An sh-compatible command language interpreter."
2 HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
3 DEPENDS = "ncurses"
4 SECTION = "base/shell"
5 LICENSE = "GPL"
6 PR = "r2"
7
8 SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
9            file://bashbug-editor.patch;patch=1;pnum=0 \
10            file://deb-bash-config.patch;patch=1 \
11            file://deb-examples.patch;patch=1;pnum=0 \
12            file://man-arithmetic.patch;patch=1;pnum=0 \
13            file://man-fignore.patch;patch=1;pnum=0 \
14            file://man-bashrc.patch;patch=1 \
15            file://privmode.patch;patch=1 \
16            file://various.patch;patch=1 \
17            file://report-155436.patch;patch=1;pnum=0 \
18            file://bash205b-001.patch;patch=1;pnum=0 \
19            file://bash205b-002.patch;patch=1;pnum=0 \
20            file://bash205b-003.patch;patch=1;pnum=0 \
21            file://bash205b-004.patch;patch=1;pnum=0 \
22            file://bash205b-005.patch;patch=1;pnum=0 \
23            file://bash205b-006.patch;patch=1;pnum=0 \
24            file://bash205b-007.patch;patch=1;pnum=0 \
25            file://rl-examples.patch;patch=1;pnum=0 \
26            file://rl-inputrc.patch;patch=1 \
27            file://rl-del-backspace-policy.patch;patch=1;pnum=0 \
28            file://rl-8bit-init.patch;patch=1 \
29            file://rl-slow-multibyte.patch;patch=1 \
30            file://s390-build.patch;patch=1;pnum=0 \
31            file://rbash-manpage.patch;patch=1;pnum=0 \
32            file://rbash-login-shell.patch;patch=1 \
33            file://execute-cmd.patch;patch=1 \
34            file://builtins-shift.patch;patch=1;pnum=0 \
35            file://suspend-segfault.patch;patch=1 \
36            file://mailcheck.patch;patch=1 \
37            file://autofoo.patch;patch=1 \
38            file://gcc34.patch;patch=1"
39
40 inherit autotools update-alternatives
41
42 PROVIDES = "virtual/sh"
43 ALTERNATIVE_NAME = "sh"
44 ALTERNATIVE_PATH = "${bindir}/bash"
45
46 bindir = "/bin"
47 sbindir = "/sbin"
48
49 EXTRA_OECONF = "--with-curses"
50 BUILD_CPPFLAGS_append = " -I${S} -I${S}/include"
51 BUILD_CFLAGS_append = " -I${S} -I${S}/include"
52 export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
53 export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
54 export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
55 export CC_FOR_BUILD = "${BUILD_CC}"
56
57 do_configure () {
58         if [ ! -e acinclude.m4 ]; then
59                 mv aclocal.m4 acinclude.m4
60         fi
61         autotools_do_configure
62 }