blob: 03fc255b802dd016600ec6403ad87668df7807f9 (
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-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/stldb4/stldb4-0.4.96.ebuild,v 1.1 2008/01/06 09:49:39 vapier Exp $
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="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-libs/ferrisloki-3.0.1
>=dev-libs/libferrisstreams-0.5.2
dev-libs/STLport"
src_compile() {
# the --with-pic flag is to workaround broken handling of
# the berkdb subdir. note that this package does not
# actually produce a static archive, so it isn't a big deal
econf \
--enable-wrapdebug \
--enable-rpc \
--with-uniquename=stldb4 \
--enable-hiddensymbols \
--with-pic \
|| die
emake || die
}
src_install() {
emake install DESTDIR="${D}" || die
dodoc AUTHORS ChangeLog NEWS README
}
|