The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libedit / libedit.mk
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/libedit/libedit.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/libedit/libedit.mk
new file mode 100644 (file)
index 0000000..87a1cdc
--- /dev/null
@@ -0,0 +1,33 @@
+################################################################################
+#
+# libedit
+#
+################################################################################
+
+LIBEDIT_VERSION = 20150325-3.1
+LIBEDIT_SITE = http://www.thrysoee.dk/editline
+LIBEDIT_INSTALL_STAGING = YES
+LIBEDIT_DEPENDENCIES = ncurses
+LIBEDIT_LICENSE = BSD-3c
+LIBEDIT_LICENSE_FILES = COPYING
+
+# We're patching configure.ac
+LIBEDIT_AUTORECONF = YES
+
+# Needed for autoreconf to work properly
+define LIBEDIT_FIXUP_M4_DIR
+       mkdir $(@D)/m4
+endef
+LIBEDIT_POST_EXTRACT_HOOKS += LIBEDIT_FIXUP_M4_DIR
+
+# Doesn't really support !wchar, but support is disabled otherwise
+LIBEDIT_CONF_OPTS += --enable-widec
+
+# Note: libbsd required for *vis functions, but works only with a toolchain
+# with __progname; otherwise, some features are disabled, as if libbsd was
+# missing entirely.
+ifeq ($(BR2_PACKAGE_LIBBSD),y)
+LIBEDIT_DEPENDENCIES += libbsd
+endif
+
+$(eval $(autotools-package))