/
fbterm-1.4.ebuild
43 lines (37 loc) · 1.25 KB
/
fbterm-1.4.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
DESCRIPTION="fast FrameBuffer based TERMinal emulator for Linux"
HOMEPAGE="http://fbterm.googlecode.com"
SRC_URI="http://fbterm.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-libs/glibc
media-libs/fontconfig
>=media-libs/freetype-2"
DEPEND="${RDEPEND}
sys-libs/ncurses
virtual/pkgconfig"
src_install() {
emake install DESTDIR="${D}" || die "Install failed"
dodoc AUTHORS NEWS README doc/inputmethod.txt
$(type -P tic) -o "${D}/usr/share/terminfo/" \
"${S}"/terminfo/fbterm || die "Failed to generate terminfo database"
}
pkg_postinst() {
# Copied from debian patch
einfo
elog "${PN} won't work with vga16fb. You have to use other native"
elog "framebuffer drivers or vesa driver."
elog "\tSee /usr/share/doc/${P}/README for details."
elog "\tTo use ${PN}, ensure You are in video group."
elog "\tTo input CJK merge \"app-i18n/fbterm-ucimf\""
einfo
elog "Starting from version 1.4, fbterm has internal 256 color mode"
elog "support. To enable this feature set the following environment"
elog "in your virtual terminal before running it:"
elog "export TERM=fbterm"
einfo
}