ed: add recipes, version 0.5 and 1.5
authorChris Larson <chris_larson@mentor.com>
Tue, 26 Oct 2010 19:14:52 +0000 (12:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Tue, 26 Oct 2010 19:15:41 +0000 (12:15 -0700)
0.5 was the last version to be GPLv2+, so I'm including that in addition to
the latest GPLv3+ version.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
recipes/ed/ed.inc [new file with mode: 0644]
recipes/ed/ed_0.5.bb [new file with mode: 0644]
recipes/ed/ed_1.5.bb [new file with mode: 0644]

diff --git a/recipes/ed/ed.inc b/recipes/ed/ed.inc
new file mode 100644 (file)
index 0000000..5372c0f
--- /dev/null
@@ -0,0 +1,25 @@
+DESCRIPTION = "GNU ed is a line-oriented text editor"
+HOMEPAGE = "http://www.gnu.org/software/ed/"
+INC_PR = "0"
+
+CONFIGUREOPTS = "\
+    '--srcdir=${S}' \
+    '--prefix=${prefix}' \
+    '--exec-prefix=${exec_prefix}' \
+    '--bindir=${bindir}' \
+    '--datadir=${datadir}' \
+    '--infodir=${infodir}' \
+    '--sysconfdir=${sysconfdir}' \
+    'CXX=${CXX}' \
+    'CPPFLAGS=${CPPFLAGS}' \
+    'CXXFLAGS=${CXXFLAGS}' \
+    'LDFLAGS=${LDFLAGS}' \
+"
+EXTRA_OEMAKE = ""
+
+B = "${S}/obj"
+do_configure () {
+    ${S}/configure ${CONFIGUREOPTS}
+}
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes/ed/ed_0.5.bb b/recipes/ed/ed_0.5.bb
new file mode 100644 (file)
index 0000000..a50e655
--- /dev/null
@@ -0,0 +1,8 @@
+require ed.inc
+
+LICENSE = "GPLv2+"
+PR = "${INC_PR}.0"
+
+SRC_URI = "${SAVANNAH_MIRROR}/releases/ed/ed-${PV}.tar.bz2"
+SRC_URI[md5sum] = "4ee21e9dcc9b5b6012c23038734e1632"
+SRC_URI[sha256sum] = "edef2bbde0fbf0d88232782a0eded323f483a0519d6fde9a3b1809056fd35f3e"
diff --git a/recipes/ed/ed_1.5.bb b/recipes/ed/ed_1.5.bb
new file mode 100644 (file)
index 0000000..49e619f
--- /dev/null
@@ -0,0 +1,8 @@
+require ed.inc
+
+LICENSE = "GPLv3+"
+PR = "${INC_PR}.0"
+
+SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.gz"
+SRC_URI[md5sum] = "e66c03d7e4c67b025d5b6093ec678267"
+SRC_URI[sha256sum] = "97dd34a49ebc9c97e414b90a087d63eafc41377a340848c97e75a9cba187fba1"