From ac53ef459e1f0e734bdf0a12546675e16631fae8 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Wed, 12 Mar 2014 09:57:47 +0800 Subject: grep: upgrade from 2.16 to 2.18 Upgrade grep from 2.16 to 2.18. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/recipes-extended/grep/grep_2.16.bb | 38 --------------------------------- meta/recipes-extended/grep/grep_2.18.bb | 38 +++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta/recipes-extended/grep/grep_2.16.bb create mode 100644 meta/recipes-extended/grep/grep_2.18.bb diff --git a/meta/recipes-extended/grep/grep_2.16.bb b/meta/recipes-extended/grep/grep_2.16.bb deleted file mode 100644 index be39555147..0000000000 --- a/meta/recipes-extended/grep/grep_2.16.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "GNU grep utility" -HOMEPAGE = "http://savannah.gnu.org/projects/grep/" -BUGTRACKER = "http://savannah.gnu.org/bugs/?group=grep" -SECTION = "console/utils" -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=8006d9c814277c1bfc4ca22af94b59ee" - -SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.xz" - -SRC_URI[md5sum] = "502350a6c8f7c2b12ee58829e760b44d" -SRC_URI[sha256sum] = "16dfeb5013d8c9f21f40ccec0936f2c1c6a014c828d30488f0d5c6ef7b551162" - -inherit autotools gettext - -EXTRA_OECONF = "--disable-perl-regexp" - -do_configure_prepend () { - rm -f ${S}/m4/init.m4 -} - -do_install () { - autotools_do_install - install -d ${D}${base_bindir} - mv ${D}${bindir}/grep ${D}${base_bindir}/grep - mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep - mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep - rmdir ${D}${bindir}/ -} - -inherit update-alternatives - -ALTERNATIVE_PRIORITY = "100" - -ALTERNATIVE_${PN} = "grep egrep fgrep" -ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep" -ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" -ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" - diff --git a/meta/recipes-extended/grep/grep_2.18.bb b/meta/recipes-extended/grep/grep_2.18.bb new file mode 100644 index 0000000000..5ffeaf0d99 --- /dev/null +++ b/meta/recipes-extended/grep/grep_2.18.bb @@ -0,0 +1,38 @@ +SUMMARY = "GNU grep utility" +HOMEPAGE = "http://savannah.gnu.org/projects/grep/" +BUGTRACKER = "http://savannah.gnu.org/bugs/?group=grep" +SECTION = "console/utils" +LICENSE = "GPLv3" +LIC_FILES_CHKSUM = "file://COPYING;md5=8006d9c814277c1bfc4ca22af94b59ee" + +SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.xz" + +SRC_URI[md5sum] = "7439f8266f50844b56cc3e2721606541" +SRC_URI[sha256sum] = "e6436e5077fa1497feccc8feaabd3f507b172369bf120fbc9e4874bba81be720" + +inherit autotools gettext + +EXTRA_OECONF = "--disable-perl-regexp" + +do_configure_prepend () { + rm -f ${S}/m4/init.m4 +} + +do_install () { + autotools_do_install + install -d ${D}${base_bindir} + mv ${D}${bindir}/grep ${D}${base_bindir}/grep + mv ${D}${bindir}/egrep ${D}${base_bindir}/egrep + mv ${D}${bindir}/fgrep ${D}${base_bindir}/fgrep + rmdir ${D}${bindir}/ +} + +inherit update-alternatives + +ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN} = "grep egrep fgrep" +ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep" +ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" +ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" + -- cgit 1.2.3-korg