summaryrefslogtreecommitdiff
blob: 720409cd6011cf70ecec72a4511cc1d4f9d08f77 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Martin Schlemmer <azarah@gentoo.org>

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.10-r4
	media-libs/audiofile
	dev-libs/libxml
	app-text/scrollkeeper"
	
RDEPEND="dev-util/glade
	 dev-util/glademm
	 media-gfx/gnome-iconedit
	 app-text/scrollkeeper
	 >=x11-libs/gtk+-1.2.10-r4
	 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"


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
}