summaryrefslogtreecommitdiff
blob: 16b4b3b86e83e0e37503b31b62a3c7f65dc630b6 (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
56
57
58
59
60
61
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Martin Schlemmer <azarah@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-0.1.9.ebuild,v 1.2 2002/05/23 06:50:12 seemant Exp $

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

DEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1
	=x11-libs/gtk+-1.2*
	media-libs/audiofile
	dev-libs/libxml
	dev-util/pkgconfig
	app-text/scrollkeeper"
	
RDEPEND="dev-util/glade
	 dev-util/glademm
	 media-gfx/gnome-iconedit
	 app-text/scrollkeeper
	 =x11-libs/gtk+-1.2*
	 media-libs/audiofile
	 media-sound/esound
	 sys-apps/bash
	 dev-util/ctags
	 sys-devel/autoconf
	 sys-devel/automake
	 sys-devel/gcc
	 sys-devel/gdb
	 sys-apps/grep
	 >=sys-libs/db-3.2.3
	 dev-util/indent"


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

	./configure --host=${CHOST} --prefix=/usr  			\
		--mandir=/usr/share/man 				\
	        --localstatedir=/var/lib 				\
		--infodir=/usr/share/info 				\
		--sysconfdir=/etc 					\
		$myconf || die
		
	emake || die
}

src_install () {
	
	make  prefix=${D}/usr						\
	      sysconfdir=${D}/etc					\
	      infodir=${D}/usr/share/info				\
	      localstatedir=${D}/var/lib 				\
	      anjutadocdir=${D}/usr/share/doc/${PF} 			\
	      anjuta_docdir=${D}/usr/share/doc/${PF} 			\
	      install || die
}