summaryrefslogtreecommitdiff
blob: 06fbf367286903a7a8c3d3aa082b17c48933e92a (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=1

inherit multilib toolchain-funcs

DESCRIPTION="Val(a)IDE is an IDE for the Vala programming language"
HOMEPAGE="http://www.valaide.org/"
SRC_URI="http://valide.googlecode.com/files/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-db/sqlite:3
	>=dev-lang/vala-0.7.8
	dev-libs/glib:2
	dev-libs/libunique
	dev-libs/libxml2
	>=x11-libs/gtk+-2.18.0:2
	x11-libs/gtksourceview:2.0"
DEPEND="${RDEPEND}
	dev-lang/python"

src_compile() {
	tc-export CC CXX CPP AR RANLIB
	./waf configure \
		--nocache \
		--prefix=/usr \
		--with-libdir=/usr/"$(get_libdir)" || die "Configure failed!"

	./waf build || die "Build failed!"
}

src_install() {
	./waf install --destdir="${D}" || die "Install to ${D} failed!"
}