blob: 8bc963c1c082ee9e78e461497b08865918706068 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.9.ebuild,v 1.6 2004/04/19 19:02:16 vapier Exp $
DESCRIPTION="A library that creates colored ASCII-art graphics"
HOMEPAGE="http://sam.zoy.org/projects/libcaca"
SRC_URI="http://sam.zoy.org/projects/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="x86 ppc sparc hppa ~amd64"
IUSE="ncurses slang doc imlib X"
DEPEND="ncurses? ( >=sys-libs/ncurses-5.3 )
slang? ( >=sys-libs/slang-1.4.2 )
doc? ( app-doc/doxygen )
imlib? ( media-libs/imlib2 )
X? ( virtual/x11 )"
src_compile() {
# temp font fix #44128
export VARTEXFONTS="${T}/fonts"
econf \
`use_enable doc` \
`use_enable ncuses` \
`use_enable slang` \
`use_enable imlib imlib2` \
`use_enable X x11` \
|| die
emake || die
unset VARTEXFONTS
}
src_install() {
make install DESTDIR=${D} || die
dodoc AUTHORS BUGS ChangeLog NEWS NOTES README TODO
}
|