blob: 6180594ee9b34875dd781cfa77e1a8452a928d6d (
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.6.ebuild,v 1.2 2004/04/16 09:41:39 eradicator Exp $
inherit gcc eutils
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"
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 test doc:src examples test:" 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
}
|