blob: df0bf063a5b82dbeb7daafd87b040f2ae4bc630d (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ibpp-1.0.5.2-r1.ebuild,v 1.15 2006/03/19 22:31:31 halcy0n Exp $
inherit eutils
DESCRIPTION="IBPP, a C++ client API for firebird 1.0"
HOMEPAGE="http://www.ibpp.org/"
SRC_URI="mirror://sourceforge/ibpp/${P//./-}-src.zip"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="x86 -sparc"
IUSE=""
RDEPEND=">=sys-apps/portage-2.0.47-r10
>=dev-db/firebird-1.0"
DEPEND="${RDEPEND}
app-arch/unzip"
src_unpack() {
mkdir ${P}
cd ${P}
unpack ${A}
epatch ${FILESDIR}/${P}.patch
rm ibase.h iberror.h
}
src_compile() {
emake PLATFORM="linux" || die
}
src_install() {
insinto /usr/include
doins ibpp.h || die "doins failed"
cd release/linux
dolib.so libibpp.so libibpp_core.so libibpp_helper.so || die "dolib.so failed"
dolib.a libibpp.a libibpp_core.a libibpp_helper.a || die "dolib.a failed"
}
|