summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/fbterm.in24
-rw-r--r--rules/fbterm.make61
2 files changed, 85 insertions, 0 deletions
diff --git a/rules/fbterm.in b/rules/fbterm.in
new file mode 100644
index 000000000..c5aa9130f
--- /dev/null
+++ b/rules/fbterm.in
@@ -0,0 +1,24 @@
+## SECTION=multimedia_framebuffer
+
+menuconfig FBTERM
+ tristate
+ prompt "fbterm "
+ select FREETYPE
+ select FONTCONFIG
+ select GPM if FBTERM_GPM
+ help
+ Framebuffer terminal. Supports unicode and uses fontconfig and Freetype
+ for font rendering. Thus is has support for anti-aliased fonts.
+
+if FBTERM
+
+config FBTERM_GPM
+ bool
+ prompt "Build fbterm with gpm support"
+ help
+ If enabled, fbterm is built with console mouse support. The required
+ 'gpm' package is automatically selected.
+
+endif
+
+# vim: set ts=8 sw=8 noet ft=kconfig:
diff --git a/rules/fbterm.make b/rules/fbterm.make
new file mode 100644
index 000000000..94403b8ee
--- /dev/null
+++ b/rules/fbterm.make
@@ -0,0 +1,61 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Bernhard Walle <walle@corscience.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_FBTERM) += fbterm
+
+#
+# Paths and names
+#
+FBTERM_VERSION := 1.7.0
+FBTERM_MD5 := c36bae75a450df0519b4527cccaf7572
+FBTERM := fbterm-$(FBTERM_VERSION)
+FBTERM_SUFFIX := tar.gz
+FBTERM_URL := http://fbterm.googlecode.com/files/$(FBTERM).$(FBTERM_SUFFIX)
+FBTERM_SOURCE := $(SRCDIR)/$(FBTERM).$(FBTERM_SUFFIX)
+FBTERM_DIR := $(BUILDDIR)/$(FBTERM)
+FBTERM_LICENSE := GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+FBTERM_CONF_TOOL := autoconf
+FBTERM_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --$(call ptx/endis, PTXCONF_FBTERM_GPM)-gpm \
+ --disable-vesa
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/fbterm.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, fbterm)
+ @$(call install_fixup, fbterm,PRIORITY,optional)
+ @$(call install_fixup, fbterm,SECTION,base)
+ @$(call install_fixup, fbterm,AUTHOR,"Bernhard Walle <walle@corscience.de>")
+ @$(call install_fixup, fbterm,DESCRIPTION,missing)
+
+ @$(call install_copy, fbterm, 0, 0, 0755, \
+ -, /usr/bin/fbterm)
+
+ @$(call install_finish, fbterm)
+
+ @$(call touch)
+
+# vim: syntax=make