editline: add recipe, version 20100424-3.0
authorChris Larson <chris_larson@mentor.com>
Fri, 7 Jan 2011 22:19:26 +0000 (17:19 -0500)
committerChris Larson <chris_larson@mentor.com>
Fri, 7 Jan 2011 22:20:25 +0000 (17:20 -0500)
This is an autotooled/libtoolized port of the NetBSD libedit.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
MAINTAINERS
recipes/editline/editline_20100424-3.0.bb [new file with mode: 0644]

index 7c07c20..184c226 100644 (file)
@@ -38,7 +38,7 @@ Person:     Christopher Larson
 Mail:       clarson@kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
 Recipes:    gzip, lzip, ed, genromfs, which, cwautomacros
-Recipes:    unifdef, termcap
+Recipes:    unifdef, termcap, editline
 Classes:    autotools.bbclass
 
 Person:     Cliff Brake
diff --git a/recipes/editline/editline_20100424-3.0.bb b/recipes/editline/editline_20100424-3.0.bb
new file mode 100644 (file)
index 0000000..9f9686b
--- /dev/null
@@ -0,0 +1,25 @@
+inherit autotools pkgconfig
+
+DESCRIPTION = "This is an autotool- and libtoolized port of the NetBSD \
+Editline library (libedit)."
+HOMEPAGE = "http://www.thrysoee.dk/editline/"
+SECTION = "libs"
+LICENSE = "BSD"
+DEPENDS += "ncurses"
+PROVIDES += "libedit"
+RPROVIDES_${PN} += "libedit"
+PR = "r0"
+
+SRC_URI = "http://www.thrysoee.dk/editline/libedit-${PV}.tar.gz"
+SRC_URI[md5sum] = "eb4482139525beff12c8ef59f1a84aae"
+SRC_URI[sha256sum] = "602b385906b6057f52922afc42cafbceadd8bae4be43c9189ea7fa870a561d86"
+S = "${WORKDIR}/libedit-${PV}"
+
+ENABLE_WIDEC ?= "true"
+ENABLE_WIDEC[type] = "boolean"
+
+EXTRA_OECONF += "\
+    --with-gnu-ld \
+    ${@oe.utils.ifelse(oe.types.value('ENABLE_WIDEC', d), \
+                       '--enable-widec', '')} \
+"