/[gentoo-x86]/app-i18n/fbterm/fbterm-1.7.ebuild
Gentoo

Contents of /app-i18n/fbterm/fbterm-1.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jun 21 17:41:54 2012 UTC (2 years ago) by naota
Branch: MAIN
New package app-i18n/fbterm. #252155

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI="4"
6 inherit autotools-utils
7
8 DESCRIPTION="fast FrameBuffer based TERMinal emulator for Linux"
9 HOMEPAGE="http://fbterm.googlecode.com"
10 SRC_URI="http://fbterm.googlecode.com/files/${P}.0.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="caps gpm video_cards_vesa"
16
17 RDEPEND="caps? ( sys-libs/libcap )
18 gpm? ( sys-libs/gpm )
19 video_cards_vesa? ( dev-libs/libx86 )
20 media-libs/fontconfig
21 >=media-libs/freetype-2"
22 DEPEND="${RDEPEND}
23 sys-libs/ncurses
24 virtual/pkgconfig"
25
26 AUTOTOOLS_IN_SOURCE_BUILD=1
27
28 DOCS=( AUTHORS NEWS README )
29
30 src_configure() {
31 local myconfargs=(
32 $(use_enable gpm)
33 $(use_enable video_cards_vesa vesa)
34 )
35 autotools-utils_src_configure
36 }
37
38 src_install() {
39 autotools-utils_src_install
40 $(type -P tic) -o "${ED}/usr/share/terminfo/" \
41 "${S}"/terminfo/fbterm || die "Failed to generate terminfo database"
42 if use caps; then
43 setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/fbterm
44 else
45 fperm u+s /usr/bin/fbterm
46 fi
47 }
48
49 pkg_postinst() {
50 einfo
51 einfo " ${PN} won't work with vga16fb. You have to use other native"
52 einfo "framebuffer drivers or vesa driver."
53 einfo " See ${EPREFIX}/usr/share/doc/${P}/README for details."
54 einfo " To use ${PN}, ensure You are in video group."
55 einfo " To input CJK merge \"app-i18n/fbterm-ucimf\""
56 einfo
57 }

  ViewVC Help
Powered by ViewVC 1.1.20