summaryrefslogtreecommitdiff
blob: dea8829e34aa84060934518eea3d5a62057cf164 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/db4o/db4o-5.0.ebuild,v 1.3 2006/03/20 00:47:46 metalgod 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=""

DEPEND="dev-lang/mono"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${DISTDIR}/${P}-makefile-filelist.diff
}

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

src_install() {
	dohtml -a html,gif,js,css -r ${S}/doc/api

	# For now we don't install into the GAC, following upstream's RPM packaging.
	insinto /usr/$(get_libdir)/db4o
	doins ${S}/bin/db4o.dll*
}