blob: ec973e33b52e46e35babef5fc5369c2c4db9f108 (
plain)
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
44
45
46
47
48
49
50
51
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/jfbterm/jfbterm-0.4.7-r4.ebuild,v 1.6 2007/09/29 10:56:29 philantrop Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit flag-o-matic eutils autotools
DESCRIPTION="The J Framebuffer Terminal/Multilingual Enhancement with UTF-8 support"
HOMEPAGE="http://jfbterm.sourceforge.jp/"
SRC_URI="mirror://sourceforge.jp/${PN}/13501/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="debug"
DEPEND=">=sys-libs/ncurses-5.6"
RDEPEND="media-fonts/unifont
media-fonts/font-misc-misc
media-fonts/intlfonts"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-sigchld-debian.patch"
epatch "${FILESDIR}/${P}-no-kernel-headers.patch"
epatch "${FILESDIR}/${P}-gentoo.patch"
eautoreconf
}
src_compile() {
append-ldflags $(bindnow-flags)
econf $(use_enable debug) || die "econf failed"
emake || die "emake failed"
}
src_install() {
dodir /etc /usr/share/fonts/jfbterm
emake -j1 DESTDIR="${D}" install || die "emake install failed"
mv "${D}"/etc/jfbterm.conf{.sample,}
doman jfbterm.1 jfbterm.conf.5
dodoc AUTHORS ChangeLog NEWS README*
dodoc jfbterm.conf.sample*
}
|