blob: 58a670683a5ab7d8f791a19368ef43c44dca2ac4 (
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
|
# 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.2.ebuild,v 1.2 2004/01/17 17:01:22 mholzer Exp $
IUSE="ncurses slang"
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"
inherit gcc eutils
DEPEND="
ncurses? ( >=sys-libs/ncurses-5.3 )
slang? ( >=sys-libs/slang-1.4.2 )"
src_compile() {
myconf=""
use ncurses || myconf="${myconf} --disable-ncurses"
use slang && myconf="${myconf} --enable-slang"
econf ${myconf} || die "configure of libcaca failed"
sed -i -e "s:src examples doc:src examples:" Makefile
emake || die "make of libcaca failed"
}
src_install() {
einstall || die "make install of libcaca failed"
dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS NOTES \
README TODO
}
|