summaryrefslogtreecommitdiff
blob: 032c43397b670671cbf190db62f0a3cc0cbb6602 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/db4o/db4o-6.1.ebuild,v 1.1 2007/06/24 17:58:59 jurek Exp $

inherit mono multilib eutils

DESCRIPTION="Object database for .NET"
HOMEPAGE="http://www.db4o.com/"
SRC_URI="http://www.db4o.com/downloads/${P}-mono.tar.gz"
#	mirror://gentoo/${P}-makefile-filelist.diff"

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

DEPEND="dev-lang/mono"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${FILESDIR}/${P}-makefile.patch
}

src_compile() {
#	emake -j1 buildcore || die "emake failed"
	emake -j1 || die "emake failed"
}

src_install() {

	if use doc; then
		emake DESTDIR=${D} install || die "emake install failed"
	else
		# Prevents from installing documentation
		emake RPM_DOC_DIR="." DESTDIR=${D} install || die "emake install failed"
	fi
}