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 / fbterm / fbterm.mk
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/fbterm/fbterm.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/fbterm/fbterm.mk
new file mode 100644 (file)
index 0000000..d78d6b7
--- /dev/null
@@ -0,0 +1,19 @@
+################################################################################
+#
+# fbterm
+#
+################################################################################
+
+FBTERM_VERSION = 1.7.0
+FBTERM_SITE = http://fbterm.googlecode.com/files
+FBTERM_LICENSE = GPLv2+
+FBTERM_LICENSE_FILES = COPYING
+FBTERM_DEPENDENCIES = fontconfig liberation
+
+ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
+# fontconfig uses pthreads if available, but fbterm forgets to link
+# with it breaking static builds
+FBTERM_CONF_ENV += LIBS='-lpthread'
+endif
+
+$(eval $(autotools-package))