M7350/oe-core/meta/recipes-extended/sed/sed_4.1.2.bb

34 lines
1006 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
SUMMARY = "Stream EDitor (text filtering utility)"
2024-09-09 08:52:07 +00:00
HOMEPAGE = "http://www.gnu.org/software/sed/"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407"
SECTION = "console/utils"
2024-09-09 08:57:42 +00:00
PR = "r7"
2024-09-09 08:52:07 +00:00
SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \
2024-09-09 08:57:42 +00:00
file://fix_return_type.patch \
file://sed-4.1.2_fix_for_automake-1.12.patch \
file://Makevars"
2024-09-09 08:52:07 +00:00
SRC_URI[md5sum] = "928f0e06422f414091917401f1a834d0"
SRC_URI[sha256sum] = "638e837ba765d5da0a30c98b57c2953cecea96827882f594612acace93ceeeab"
2024-09-09 08:57:42 +00:00
inherit autotools texinfo update-alternatives gettext
do_configure_prepend () {
cp ${WORKDIR}/Makevars ${S}/po/
}
2024-09-09 08:52:07 +00:00
do_install () {
autotools_do_install
install -d ${D}${base_bindir}
2024-09-09 08:57:42 +00:00
mv ${D}${bindir}/sed ${D}${base_bindir}/sed
rmdir ${D}${bindir}/
2024-09-09 08:52:07 +00:00
}
2024-09-09 08:57:42 +00:00
ALTERNATIVE_${PN} = "sed"
ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
2024-09-09 08:52:07 +00:00
ALTERNATIVE_PRIORITY = "100"