linux-omap 2.6.39: sync with meta-texasinstruments
[openembedded.git] / recipes / sed / sed_4.1.2.bb
blob474ae3041b3a3a7e925c8bb8b77cde20cf0c0baf
1 LICENSE = "GPL"
2 SECTION = "console/utils"
3 DESCRIPTION = "sed is a Stream EDitor."
4 PR = "r2"
6 SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
7 S = "${WORKDIR}/sed-${PV}"
9 inherit gettext autotools
11 do_install () {
12 autotools_do_install
13 install -d ${D}${base_bindir}
14 mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
18 pkg_postinst_${PN} () {
19 update-alternatives --install ${base_bindir}/sed sed sed.${PN} 100
23 pkg_prerm_${PN} () {
24 update-alternatives --remove sed sed.${PN}
28 SRC_URI[md5sum] = "928f0e06422f414091917401f1a834d0"
29 SRC_URI[sha256sum] = "638e837ba765d5da0a30c98b57c2953cecea96827882f594612acace93ceeeab"