2010-07-14 09:32:43 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fbterm
|
2012-01-07 22:38:24 +02:00
|
|
|
PKG_VERSION:=1.7
|
2010-07-14 09:32:43 +03:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2012-01-07 22:38:24 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).0.tar.gz
|
2010-07-14 09:32:43 +03:00
|
|
|
PKG_SOURCE_URL:=http://fbterm.googlecode.com/files/
|
2012-01-07 22:38:24 +02:00
|
|
|
PKG_MD5SUM:=c36bae75a450df0519b4527cccaf7572
|
2010-07-14 09:32:43 +03:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2011-02-06 20:54:49 +02:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-07-14 09:32:43 +03:00
|
|
|
|
|
|
|
define Package/fbterm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=FbTerm, a fast FrameBuffer based TERMinal emulator for linux
|
|
|
|
URL:=http://code.google.com/p/fbterm/
|
2010-07-14 12:44:03 +03:00
|
|
|
SUBMENU:=Terminal
|
2011-02-06 20:54:49 +02:00
|
|
|
DEPENDS:=$(ICONV_DEPENDS) +fontconfig +unifont +libstdcpp
|
2010-07-14 09:32:43 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fbterm/description
|
|
|
|
FbTerm is a fast terminal emulator for linux with frame buffer device
|
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_LDFLAGS+= \
|
2011-02-06 20:54:49 +02:00
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
|
2010-07-14 09:32:43 +03:00
|
|
|
|
|
|
|
define Package/fbterm/install
|
|
|
|
$(INSTALL_DIR) \
|
2011-02-14 21:03:43 +02:00
|
|
|
$(1)/usr/bin $(1)/usr/share/fbterm
|
2010-07-14 09:32:43 +03:00
|
|
|
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_BUILD_DIR)/src/fbterm \
|
|
|
|
$(1)/usr/bin/fbterm
|
|
|
|
|
2011-02-14 21:03:43 +02:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(FILES_DIR)/fbtermrc \
|
|
|
|
$(1)/usr/share/fbterm
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/fbterm/postinst
|
|
|
|
#! /bin/sh
|
2011-06-23 22:40:46 +03:00
|
|
|
mkdir -p $${IPKG_INSTROOT}/root && cp $${IPKG_INSTROOT}/usr/share/fbterm/fbtermrc $${IPKG_INSTROOT}/root/.fbtermrc
|
2010-07-14 09:32:43 +03:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,fbterm))
|