summaryrefslogtreecommitdiffstats
path: root/meta/packages/sed/sed_4.1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/sed/sed_4.1.2.bb')
-rw-r--r--meta/packages/sed/sed_4.1.2.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/sed/sed_4.1.2.bb b/meta/packages/sed/sed_4.1.2.bb
new file mode 100644
index 0000000000..fe80f3e687
--- /dev/null
+++ b/meta/packages/sed/sed_4.1.2.bb
@@ -0,0 +1,26 @@
1LICENSE = "GPL"
2SECTION = "console/utils"
3DESCRIPTION = "sed is a Stream EDitor."
4PR = "r1"
5
6SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
7S = "${WORKDIR}/sed-${PV}"
8
9inherit autotools
10
11do_install () {
12 autotools_do_install
13 install -d ${D}${base_bindir}
14 mv ${D}${bindir}/sed ${D}${base_bindir}/sed.${PN}
15}
16
17
18pkg_postinst_${PN} () {
19 update-alternatives --install ${base_bindir}/sed sed sed.${PN} 100
20}
21
22
23pkg_prerm_${PN} () {
24 update-alternatives --remove sed sed.${PN}
25}
26