Root/fbterm/Makefile

Source at commit f3d3e6694e9c345c68f02323578a2ec026f848c0 created 9 years 5 months ago.
By kyak, fbterm: install .fbtermrc (should fix long first start)
1#
2# This is free software, licensed under the GNU General Public License v2.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=fbterm
8PKG_VERSION:=1.6
9PKG_RELEASE:=1
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://fbterm.googlecode.com/files/
13PKG_MD5SUM:=531ea0984836b58fd123e6a97a4228c6
14
15include $(INCLUDE_DIR)/package.mk
16include $(INCLUDE_DIR)/nls.mk
17
18define Package/fbterm
19  SECTION:=utils
20  CATEGORY:=Utilities
21  TITLE:=FbTerm, a fast FrameBuffer based TERMinal emulator for linux
22  URL:=http://code.google.com/p/fbterm/
23  SUBMENU:=Terminal
24  DEPENDS:=$(ICONV_DEPENDS) +fontconfig +unifont +libstdcpp
25endef
26
27define Package/fbterm/description
28  FbTerm is a fast terminal emulator for linux with frame buffer device
29endef
30
31TARGET_LDFLAGS+= \
32        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -liconv
33
34define Package/fbterm/install
35    $(INSTALL_DIR) \
36        $(1)/usr/bin $(1)/usr/share/fbterm
37
38    $(INSTALL_BIN) \
39        $(PKG_BUILD_DIR)/src/fbterm \
40        $(1)/usr/bin/fbterm
41
42    $(INSTALL_DATA) \
43        $(FILES_DIR)/fbtermrc \
44        $(1)/usr/share/fbterm
45endef
46
47define Package/fbterm/postinst
48#! /bin/sh
49cp $${IPKG_INSTROOT}/usr/share/fbterm/fbtermrc $${IPKG_INSTROOT}/root/.fbtermrc
50endef
51
52$(eval $(call BuildPackage,fbterm))
53

Archive Download this file



interactive