summaryrefslogtreecommitdiff
blob: fa1cfcb7ad71483cc96423d3f76b711bfe443cf8 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/stldb4/stldb4-0.3.7.ebuild,v 1.6 2005/01/01 17:43:51 eradicator Exp $

inherit flag-o-matic

DESCRIPTION="a nice C++ wrapper for db4"
HOMEPAGE="http://witme.sourceforge.net/libferris.web/"
SRC_URI="mirror://sourceforge/witme/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND=">=dev-libs/ferrisloki-2.0.3
	>=dev-libs/libferrisstreams-0.3.6
	dev-libs/STLport"

src_unpack() {
	unpack ${A}
	cd ${S}
	ln -s ${S}/db-4.1.25/dist STLdb4
	append-flags -I${S}
}

src_compile() {
	econf --enable-wrapdebug --enable-rpc --with-uniquename=stldb4 || die
	emake || die
}

src_install() {
	make install DESTDIR=${D} || die
	dodoc AUTHORS ChangeLog NEWS README
}