summaryrefslogtreecommitdiff
path: root/jfbterm/Makefile
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
committerDavid Kühling <dvdkhlng@gmx.de>2010-09-18 20:47:21 +0200
commit4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch)
tree58590463ada82a27eca0889312c32450358249a8 /jfbterm/Makefile
downloadqipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target Gforth, removing strange emacs-dependencies that cropped up earlier. Image file can now be built on the nanonote using 'gforth-update-image' command. Also, Gforth is now run through a wrapper that calls 'gforth-update-image' automatically, if necessary. Also first attempts at supporting libcc C-interface libraries pre-compiled on the host. Tested to compile on amd64 and i386.
Diffstat (limited to 'jfbterm/Makefile')
-rw-r--r--jfbterm/Makefile86
1 files changed, 86 insertions, 0 deletions
diff --git a/jfbterm/Makefile b/jfbterm/Makefile
new file mode 100644
index 0000000..ccf7a7d
--- /dev/null
+++ b/jfbterm/Makefile
@@ -0,0 +1,86 @@
+#
+# kyak@freenode/#qi-hardware
+#
+# This is free software, licensed under the GNU General Public License v2.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=jfbterm
+PKG_VERSION:=0.4.7
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://jaist.dl.sourceforge.jp/jfbterm/13501/
+PKG_MD5SUM:=cb0b869bd1c21f0dd224b7fc40517680
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+define Package/jfbterm
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=J framebuffer terminal / Multilingual Enhancement
+ URL:=http://jfbterm.sourceforge.jp
+ SUBMENU:=Terminal
+ DEPENDS:=+libiconv +unifont
+endef
+
+define Package/jfbterm/description
+ JFBTERM takes advantages of framebuffer device and makes it
+ able to display multilingual text on console.
+endef
+
+TARGET_CFLAGS+= \
+ -I$(STAGING_DIR)/usr/lib/libiconv/include \
+ -I$(LINUX_DIR)/include
+
+TARGET_LDFLAGS+= \
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+ -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv
+
+MAKE_FLAGS += ACLOCAL=aclocal-1.10 AUTOMAKE="automake-1.10 -a"
+
+#CONFIGURE_VARS += ac_cv_func_ioperm=no
+
+#CONFIGURE_ARGS += \
+ --enable-vga16fb=no
+
+#TARGET_CFLAGS += -Wall -g
+
+#define Build/Configure
+# $(call Build/Configure/Default, \
+ --enable-vga16fb=no, \
+ ac_cv_func_ioperm=no)
+#endef
+
+define Package/jfbterm/install
+ $(INSTALL_DIR) \
+ $(1)/usr/bin \
+ $(1)/etc \
+ $(1)/usr/share/fonts/jfbterm \
+ $(1)/usr/share/terminfo/j
+
+ $(INSTALL_BIN) \
+ $(PKG_BUILD_DIR)/jfbterm \
+ $(1)/usr/bin/jfbterm
+
+ $(INSTALL_DATA) \
+ ./config/jfbterm.conf \
+ $(1)/etc/jfbterm.conf
+
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/fonts/* \
+ $(1)/usr/share/fonts/jfbterm
+
+ $(INSTALL_DATA) \
+ ./fonts/* \
+ $(1)/usr/share/fonts/jfbterm
+
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/terminfo.jfbterm \
+ $(1)/usr/share/terminfo/j/jfbterm
+
+endef
+
+$(eval $(call BuildPackage,jfbterm))