From 02ee3a2571de39b6d4c8c85ef290951e6ee1a75f Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Sun, 21 Jan 2007 21:07:52 +0000 Subject: Add bash for dhcp-client (hopefully temporarily) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1185 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta-extras/packages/bash/bash_3.2.bb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-extras/packages/bash/bash_3.2.bb (limited to 'meta-extras/packages/bash/bash_3.2.bb') diff --git a/meta-extras/packages/bash/bash_3.2.bb b/meta-extras/packages/bash/bash_3.2.bb new file mode 100644 index 0000000000..e3d6b0560c --- /dev/null +++ b/meta-extras/packages/bash/bash_3.2.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "An sh-compatible command language interpreter." +HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" +DEPENDS = "ncurses" +SECTION = "base/shell" +LICENSE = "GPL" + +SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ + file://001-005.patch;patch=1" + +inherit autotools gettext + +PARALLEL_MAKE = "" + +bindir = "/bin" +sbindir = "/sbin" + +EXTRA_OECONF = "--with-ncurses" +export CC_FOR_BUILD = "${BUILD_CC}" + +do_configure () { + gnu-configize + oe_runconf +} + +pkg_postinst () { + grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells + grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells +} -- cgit v1.2.3-54-g00ecf