diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 11:52:46 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 11:52:46 +0000 |
commit | 74beec7beb3c730818891818be1e7b525eb001b5 (patch) | |
tree | 2133c8ee4f7eede573c01e67a214133861da2d81 /meta/packages/bash/bash.inc | |
parent | 52b64ddf61a38940e5ae7675f9dfedc3253e39cc (diff) | |
download | poky-74beec7beb3c730818891818be1e7b525eb001b5.tar.gz |
bash: sync with OE (no package changes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2959 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bash/bash.inc')
-rw-r--r-- | meta/packages/bash/bash.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/bash/bash.inc b/meta/packages/bash/bash.inc new file mode 100644 index 0000000000..80aedfa1c8 --- /dev/null +++ b/meta/packages/bash/bash.inc | |||
@@ -0,0 +1,26 @@ | |||
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 | |||
7 | inherit autotools gettext | ||
8 | |||
9 | PARALLEL_MAKE = "" | ||
10 | |||
11 | bindir = "/bin" | ||
12 | sbindir = "/sbin" | ||
13 | |||
14 | EXTRA_OECONF = "--with-ncurses" | ||
15 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
16 | |||
17 | do_configure () { | ||
18 | gnu-configize | ||
19 | oe_runconf | ||
20 | } | ||
21 | |||
22 | pkg_postinst () { | ||
23 | touch ${sysconfdir}/shells | ||
24 | grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells | ||
25 | grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells | ||
26 | } | ||