summaryrefslogtreecommitdiff
blob: 706535c2c850b81ea6f0f09c64b19bab656bdb06 (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
52
53
54
55
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-0.1.9.ebuild,v 1.11 2002/12/09 04:21:13 manson Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A versatile Integrated Development Environment (IDE) for C and C++."
SRC_URI="http://anjuta.sourceforge.net/packages/${P}.tar.gz"
HOMEPAGE="http://anjuta.sourceforge.net/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "

DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
	=x11-libs/gtk+-1.2*
	=gnome-base/libglade-0.17*
	=gnome-base/gnome-vfs-1.0*
	media-libs/audiofile
	dev-libs/libxml
	dev-util/pkgconfig
	app-text/scrollkeeper"
	
RDEPEND="dev-util/glade
	 media-gfx/gnome-iconedit
	 app-text/scrollkeeper
	 =x11-libs/gtk+-1.2*
	 media-libs/audiofile
	 dev-util/ctags
	 sys-devel/gdb
	 sys-apps/grep
	 >=sys-libs/db-3.2.3
	 dev-util/indent"


src_compile() {
        
	local myconf
	use nls || myconf="--disable-nls"

	econf ${myconf} || die
	emake \
		anjuta_docdir=/usr/share/doc/${PF} || die
}

src_install () {
	
	einstall \
		PACKAGE_DOC_DIR=${D}/usr/share/doc \
		anjuta_docdir=${D}/usr/share/doc/${PF} || die


	rm -rf ${D}/usr/doc

	dodoc AUTHORS COPYING ChangeLog FUTURE NEWS README THANKS TODO
}