1 DESCRIPTION = "An sh-compatible command language interpreter."
2 HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
7 inherit autotools gettext
11 SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz"
12 S = "${WORKDIR}/bash-${PV}"
17 EXTRA_OECONF = "--with-ncurses"
24 do_compile_prepend() {
27 ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -I${S}/include -I${S} -o mkbuiltins mkbuiltins.c
32 touch $D${sysconfdir}/shells
33 grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells
34 grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells