summaryrefslogtreecommitdiff
path: root/fbterm/Makefile
diff options
context:
space:
mode:
authorDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
committerDavid Kühling <dvdkhlng@gmx.de>2011-01-02 15:19:00 +0100
commit9aaeb4623d3ff5746e665bc17914eefd292b7dcd (patch)
tree370db60ffdc2ef840b7d1124d5a392f93bba3c9d /fbterm/Makefile
downloadqipackages-fork-9aaeb4623d3ff5746e665bc17914eefd292b7dcd.tar.gz
New OpenWrt package for GNU Octave. Experimental/probably still broken.grafted
Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.
Diffstat (limited to 'fbterm/Makefile')
-rw-r--r--fbterm/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/fbterm/Makefile b/fbterm/Makefile
new file mode 100644
index 0000000..6b66ebf
--- /dev/null
+++ b/fbterm/Makefile
@@ -0,0 +1,47 @@
+#
+# This is free software, licensed under the GNU General Public License v2.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=fbterm
+PKG_VERSION:=1.6
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://fbterm.googlecode.com/files/
+PKG_MD5SUM:=531ea0984836b58fd123e6a97a4228c6
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/fbterm
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=FbTerm, a fast FrameBuffer based TERMinal emulator for linux
+ URL:=http://code.google.com/p/fbterm/
+ SUBMENU:=Terminal
+ DEPENDS:=+libiconv +fontconfig +unifont +libstdcpp
+endef
+
+define Package/fbterm/description
+ FbTerm is a fast terminal emulator for linux with frame buffer device
+endef
+
+TARGET_CFLAGS+= \
+ -I$(STAGING_DIR)/usr/lib/libiconv/include
+
+TARGET_LDFLAGS+= \
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+ -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv
+
+define Package/fbterm/install
+ $(INSTALL_DIR) \
+ $(1)/usr/bin
+
+ $(INSTALL_BIN) \
+ $(PKG_BUILD_DIR)/src/fbterm \
+ $(1)/usr/bin/fbterm
+
+endef
+
+$(eval $(call BuildPackage,fbterm))