diff options
Diffstat (limited to 'recipes-extended/bash/bash.inc')
-rw-r--r-- | recipes-extended/bash/bash.inc | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/recipes-extended/bash/bash.inc b/recipes-extended/bash/bash.inc deleted file mode 100644 index 64b476f..0000000 --- a/recipes-extended/bash/bash.inc +++ /dev/null @@ -1,50 +0,0 @@ -DESCRIPTION = "An sh-compatible command language interpreter." -HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" -SECTION = "base/shell" - -DEPENDS = "ncurses bison-native" - -inherit autotools gettext update-alternatives ptest - -PARALLEL_MAKE = "" - -EXTRA_OECONF = "--enable-job-control" - -ALTERNATIVE_${PN} = "sh" -ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" -ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" -ALTERNATIVE_PRIORITY = "100" - -export AUTOHEADER = "true" - -RDEPENDS_${PN}-ptest += "make" - -do_configure_prepend () { - if [ ! -e ${S}/acinclude.m4 ]; then - cat ${S}/aclocal.m4 > ${S}/acinclude.m4 - fi -} - -do_compile_ptest () { - oe_runmake buildtest -} - -do_install_append () { - # Move /usr/bin/bash to /bin/bash, if need - if [ "${base_bindir}" != "${bindir}" ]; then - mkdir -p ${D}${base_bindir} - mv ${D}${bindir}/bash ${D}${base_bindir} - fi -} - -do_install_ptest () { - make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test - cp ${B}/Makefile ${D}${PTEST_PATH} - sed -i 's/^Makefile/_Makefile/' ${D}${PTEST_PATH}/Makefile -} - -pkg_postinst_${PN} () { - touch $D${sysconfdir}/shells - grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells - grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells -} |