summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-shells/zsh/zsh_5.8.bb (renamed from meta-oe/recipes-shells/zsh/zsh_5.4.2.bb)18
1 files changed, 3 insertions, 15 deletions
diff --git a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb b/meta-oe/recipes-shells/zsh/zsh_5.8.bb
index aa372b70a3..6fc5f4d993 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.4.2.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.8.bb
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=1a4c4cda3e8096d2fd483ff2f4514fec"
10 10
11DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native" 11DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" 13SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/5.8/${BP}.tar.xz"
14SRC_URI[md5sum] = "dfe156fd69b0d8d1745ecf6d6e02e047" 14SRC_URI[sha256sum] = "dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27"
15SRC_URI[sha256sum] = "957bcdb2c57f64c02f673693ea5a7518ef24b6557aeb3a4ce222cefa6d74acc9"
16 15
17inherit autotools gettext update-alternatives 16inherit autotools-brokensep gettext update-alternatives manpages
18 17
19EXTRA_OECONF = " \ 18EXTRA_OECONF = " \
20 --bindir=${base_bindir} \ 19 --bindir=${base_bindir} \
@@ -47,19 +46,8 @@ do_configure () {
47 oe_runconf 46 oe_runconf
48} 47}
49 48
50do_install_append () {
51 rm -fr ${D}/usr/share
52 rmdir --ignore-fail-on-non-empty ${D}/usr
53}
54
55pkg_postinst_${PN} () { 49pkg_postinst_${PN} () {
56 touch $D${sysconfdir}/shells 50 touch $D${sysconfdir}/shells
57 grep -q "bin/zsh" $D${sysconfdir}/shells || echo /bin/zsh >> $D${sysconfdir}/shells 51 grep -q "bin/zsh" $D${sysconfdir}/shells || echo /bin/zsh >> $D${sysconfdir}/shells
58 grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells 52 grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells
59} 53}
60
61FILES_${PN}-dbg += "\
62 ${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
63 ${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
64 ${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
65"