Patchwork [meta-oe,v2] mg: add recipe for version 20110905

login
register
mail settings
Submitter Mario Domenech Goulart
Date Feb. 6, 2013, 10:52 a.m.
Message ID <1360147950-19689-1-git-send-email-mario@ossystems.com.br>
Download mbox | patch
Permalink /patch/44193/
State Accepted, archived
Commit 1b6add994684cea82024e3389e559879118e16a4
Headers show

Comments

Mario Domenech Goulart - Feb. 6, 2013, 10:52 a.m.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
---
 meta-oe/recipes-support/mg/mg_20110905.bb |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-support/mg/mg_20110905.bb

Patch

diff --git a/meta-oe/recipes-support/mg/mg_20110905.bb b/meta-oe/recipes-support/mg/mg_20110905.bb
new file mode 100644
index 0000000..7a6a1c7
--- /dev/null
+++ b/meta-oe/recipes-support/mg/mg_20110905.bb
@@ -0,0 +1,20 @@ 
+DESCRIPTION = "A portable version of the mg maintained by the OpenBSD team"
+HOMEPAGE = "http://homepage.boetes.org/software/mg/"
+LICENSE = "PD"
+LIC_FILES_CHKSUM = "file://version.c;md5=811e1b67a5cd60c12b218a2b7c1adbf2"
+DEPENDS = "ncurses"
+SECTION = "console/editors"
+
+SRC_URI = "http://homepage.boetes.org/software/mg/mg-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "2de35316fa8ebafe6003efaae70b723e"
+SRC_URI[sha256sum] = "1cd37d7e6a3eecc890a5718c38b8f38495057ba93856762a756ccee2f9618229"
+
+do_configure () {
+    sed -i Makefile.in -e 's,^prefix=.*,prefix=${prefix},'
+    ./configure
+}
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}