Root/jfbterm/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=jfbterm
8PKG_VERSION:=0.4.7
9PKG_RELEASE:=2
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=@SF/$(PKG_NAME)
13PKG_MD5SUM:=cb0b869bd1c21f0dd224b7fc40517680
14
15PKG_FIXUP:=autoreconf
16
17include $(INCLUDE_DIR)/package.mk
18include $(INCLUDE_DIR)/kernel.mk
19include $(INCLUDE_DIR)/nls.mk
20
21define Package/jfbterm
22  SECTION:=utils
23  CATEGORY:=Utilities
24  TITLE:=J framebuffer terminal / Multilingual Enhancement
25  URL:=http://jfbterm.sourceforge.jp
26  SUBMENU:=Terminal
27  DEPENDS:=$(ICONV_DEPENDS) +unifont
28endef
29
30define Package/jfbterm/description
31  JFBTERM takes advantages of framebuffer device and makes it
32  able to display multilingual text on console.
33endef
34
35TARGET_CFLAGS+= \
36       -I$(LINUX_DIR)/include
37
38TARGET_LDFLAGS+= \
39        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
40
41define Package/jfbterm/install
42    $(INSTALL_DIR) \
43        $(1)/usr/bin \
44        $(1)/etc \
45        $(1)/usr/share/fonts/jfbterm \
46        $(1)/usr/share/terminfo/j
47
48    $(INSTALL_BIN) \
49        $(PKG_BUILD_DIR)/jfbterm \
50        $(1)/usr/bin/jfbterm
51
52    $(INSTALL_DATA) \
53        ./config/jfbterm.conf \
54        $(1)/etc/jfbterm.conf
55
56    $(INSTALL_DATA) \
57        $(PKG_BUILD_DIR)/fonts/* \
58        $(1)/usr/share/fonts/jfbterm
59
60    $(INSTALL_DATA) \
61        ./fonts/* \
62        $(1)/usr/share/fonts/jfbterm
63
64    $(INSTALL_DATA) \
65        $(PKG_BUILD_DIR)/terminfo.jfbterm \
66        $(1)/usr/share/terminfo/j/jfbterm
67
68endef
69
70$(eval $(call BuildPackage,jfbterm))
71

Archive Download this file



interactive