diff options
Diffstat (limited to 'meta/recipes-extended/bash')
| -rw-r--r-- | meta/recipes-extended/bash/bash.inc | 29 | ||||
| -rw-r--r-- | meta/recipes-extended/bash/bash_3.2.48.bb | 35 | ||||
| -rw-r--r-- | meta/recipes-extended/bash/bash_4.1.bb | 13 |
3 files changed, 77 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc new file mode 100644 index 0000000000..42e89180d1 --- /dev/null +++ b/meta/recipes-extended/bash/bash.inc | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "An sh-compatible command language interpreter." | ||
| 2 | HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" | ||
| 3 | SECTION = "base/shell" | ||
| 4 | |||
| 5 | # GPLv2+ (< 4.0), GPLv3+ (>= 4.0) | ||
| 6 | LICENSE = "GPLv3+" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
| 8 | DEPENDS = "ncurses" | ||
| 9 | |||
| 10 | inherit autotools gettext | ||
| 11 | |||
| 12 | PARALLEL_MAKE = "" | ||
| 13 | |||
| 14 | bindir = "/bin" | ||
| 15 | sbindir = "/sbin" | ||
| 16 | |||
| 17 | EXTRA_OECONF = "--with-ncurses" | ||
| 18 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 19 | |||
| 20 | do_configure () { | ||
| 21 | gnu-configize | ||
| 22 | oe_runconf | ||
| 23 | } | ||
| 24 | |||
| 25 | pkg_postinst () { | ||
| 26 | touch $D${sysconfdir}/shells | ||
| 27 | grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells | ||
| 28 | grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells | ||
| 29 | } | ||
diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb b/meta/recipes-extended/bash/bash_3.2.48.bb new file mode 100644 index 0000000000..ee563d626a --- /dev/null +++ b/meta/recipes-extended/bash/bash_3.2.48.bb | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | DESCRIPTION = "An sh-compatible command language interpreter." | ||
| 2 | HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" | ||
| 3 | SECTION = "base/shell" | ||
| 4 | |||
| 5 | LICENSE = "GPLv2+" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" | ||
| 7 | DEPENDS = "ncurses" | ||
| 8 | |||
| 9 | PR = "r6" | ||
| 10 | |||
| 11 | SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ | ||
| 12 | http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0 \ | ||
| 13 | http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-050;apply=yes;striplevel=0 \ | ||
| 14 | http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-051;apply=yes;striplevel=0" | ||
| 15 | |||
| 16 | inherit autotools gettext | ||
| 17 | |||
| 18 | PARALLEL_MAKE = "" | ||
| 19 | |||
| 20 | bindir = "/bin" | ||
| 21 | sbindir = "/sbin" | ||
| 22 | |||
| 23 | EXTRA_OECONF = "--with-ncurses" | ||
| 24 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 25 | |||
| 26 | do_configure () { | ||
| 27 | gnu-configize | ||
| 28 | oe_runconf | ||
| 29 | } | ||
| 30 | |||
| 31 | pkg_postinst () { | ||
| 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 | ||
| 35 | } | ||
diff --git a/meta/recipes-extended/bash/bash_4.1.bb b/meta/recipes-extended/bash/bash_4.1.bb new file mode 100644 index 0000000000..6f0ced757e --- /dev/null +++ b/meta/recipes-extended/bash/bash_4.1.bb | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | require bash.inc | ||
| 2 | |||
| 3 | PR = "r0" | ||
| 4 | |||
| 5 | SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz \ | ||
| 6 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0 \ | ||
| 7 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-002;apply=yes;striplevel=0 \ | ||
| 8 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-003;apply=yes;striplevel=0 \ | ||
| 9 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-004;apply=yes;striplevel=0 \ | ||
| 10 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-005;apply=yes;striplevel=0 \ | ||
| 11 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-006;apply=yes;striplevel=0 \ | ||
| 12 | http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-007;apply=yes;striplevel=0 \ | ||
| 13 | " | ||
