2010-07-14 09:29:12 +03:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=jfbterm
|
|
|
|
PKG_VERSION:=0.4.7
|
2011-03-07 14:37:37 +02:00
|
|
|
PKG_RELEASE:=2
|
2010-07-14 09:29:12 +03:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2013-01-03 14:50:34 +02:00
|
|
|
PKG_SOURCE_URL:=http://iij.dl.sourceforge.jp/jfbterm/13501
|
2010-07-14 09:29:12 +03:00
|
|
|
PKG_MD5SUM:=cb0b869bd1c21f0dd224b7fc40517680
|
|
|
|
|
2011-03-07 14:37:37 +02:00
|
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
|
2010-07-14 09:29:12 +03:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
2011-02-06 21:10:07 +02:00
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2010-07-14 09:29:12 +03:00
|
|
|
|
|
|
|
define Package/jfbterm
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=J framebuffer terminal / Multilingual Enhancement
|
|
|
|
URL:=http://jfbterm.sourceforge.jp
|
2010-07-14 12:44:03 +03:00
|
|
|
SUBMENU:=Terminal
|
2011-02-06 21:10:07 +02:00
|
|
|
DEPENDS:=$(ICONV_DEPENDS) +unifont
|
2010-07-14 09:29:12 +03:00
|
|
|
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$(LINUX_DIR)/include
|
|
|
|
|
|
|
|
TARGET_LDFLAGS+= \
|
2011-02-06 21:10:07 +02:00
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
|
2010-07-14 09:29:12 +03:00
|
|
|
|
|
|
|
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))
|