[oe] [PATCH] zsh: updated recipe's version to v5.0.0

Guyzmo guyzmo+openembedded at hackable-devices.org
Thu Aug 30 18:13:36 UTC 2012


* 4.3.17 has moved to old/ in zsh ftp and 5.0.0 is stable
* changed name of the recipe
* changed the hashes in the recipe

Signed-off-by: Guyzmo <guyzmo+openembedded at hackable-devices.org>
---
 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb |   51 ----------------------------
 meta-oe/recipes-extended/zsh/zsh_5.0.0.bb  |   51 ++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 51 deletions(-)
 delete mode 100644 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
 create mode 100644 meta-oe/recipes-extended/zsh/zsh_5.0.0.bb

diff --git a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
deleted file mode 100644
index 9192f20..0000000
--- a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
+++ /dev/null
@@ -1,51 +0,0 @@
-DESCRIPTION = "UNIX Shell similar to the Korn shell"
-HOMEPAGE="http://www.zsh.org"
-SECTION = "base/shell"
-
-LICENSE = "ZSH"
-LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
-
-DEPENDS = "ncurses libcap libpcre gdbm groff-native"
-
-SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2"
-SRC_URI[md5sum] = "8258967060b2654f30001a011946ac6a"
-SRC_URI[sha256sum] = "054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704"
-
-FILES_${PN}-dbg += "\
-    ${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
-    ${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
-    ${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
-    "
-
-inherit autotools
-
-EXTRA_OECONF = " \
-    --bindir=${base_bindir} \
-    --enable-etcdir=${sysconfdir} \
-    --enable-fndir=${datadir}/${PN}/${PV}/functions \
-    --enable-site-fndir=${datadir}/${PN}/site-functions \
-    --enable-function-subdirs \
-    --with-term-lib='ncursesw ncurses' \
-    --with-tcsetpgrp \
-    --enable-pcre \
-    --enable-cap \
-    --enable-multibyte \
-    --enable-gdbm \
-    --enable-dynamic \
-    zsh_cv_shared_environ=yes \
-    "
-
-do_configure () {
-    oe_runconf
-}
-
-pkg_postinst_${PN} () {
-    touch $D${sysconfdir}/shells
-    grep -q "bin/zsh" $D${sysconfdir}/shells || echo "/bin/zsh" >> $D${sysconfdir}/shells
-}
-
-pkg_postrm_${PN} () {
-    if [ -e $D${sysconfdir}/shells ]; then
-        sed -i -e '/\/bin\/zsh/d' $D${sysconfdir}/shells
-    fi
-}
diff --git a/meta-oe/recipes-extended/zsh/zsh_5.0.0.bb b/meta-oe/recipes-extended/zsh/zsh_5.0.0.bb
new file mode 100644
index 0000000..f499be7
--- /dev/null
+++ b/meta-oe/recipes-extended/zsh/zsh_5.0.0.bb
@@ -0,0 +1,51 @@
+DESCRIPTION = "UNIX Shell similar to the Korn shell"
+HOMEPAGE="http://www.zsh.org"
+SECTION = "base/shell"
+
+LICENSE = "ZSH"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
+
+DEPENDS = "ncurses libcap libpcre gdbm groff-native"
+
+SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2"
+SRC_URI[md5sum] = "e8484468925cec8d9a84b8b04797e764"
+SRC_URI[sha256sum] = "cd014a8e09a3607c68369d1615db96d0fbb7279a125950b32032fd448c44a888"
+
+FILES_${PN}-dbg += "\
+    ${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
+    ${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
+    ${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
+    "
+
+inherit autotools
+
+EXTRA_OECONF = " \
+    --bindir=${base_bindir} \
+    --enable-etcdir=${sysconfdir} \
+    --enable-fndir=${datadir}/${PN}/${PV}/functions \
+    --enable-site-fndir=${datadir}/${PN}/site-functions \
+    --enable-function-subdirs \
+    --with-term-lib='ncursesw ncurses' \
+    --with-tcsetpgrp \
+    --enable-pcre \
+    --enable-cap \
+    --enable-multibyte \
+    --enable-gdbm \
+    --enable-dynamic \
+    zsh_cv_shared_environ=yes \
+    "
+
+do_configure () {
+    oe_runconf
+}
+
+pkg_postinst_${PN} () {
+    touch $D${sysconfdir}/shells
+    grep -q "bin/zsh" $D${sysconfdir}/shells || echo "/bin/zsh" >> $D${sysconfdir}/shells
+}
+
+pkg_postrm_${PN} () {
+    if [ -e $D${sysconfdir}/shells ]; then
+        sed -i -e '/\/bin\/zsh/d' $D${sysconfdir}/shells
+    fi
+}
-- 
1.7.2.5




More information about the Openembedded-devel mailing list