blob: 2b9c8139429e4041a51b9f56acc5f8615555a09a (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ibpp-2.3.4.0.ebuild,v 1.1 2004/10/25 23:15:48 sekretarz Exp $
inherit eutils
MY_P=${P//./-}-src
DESCRIPTION="IBPP, a C++ client API for firebird 1.0"
HOMEPAGE="http://www.ibpp.org/"
SRC_URI="mirror://sourceforge/ibpp/${MY_P}.zip"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=dev-db/firebird-1.5.1"
src_unpack() {
mkdir ${P}
cd ${P}
unpack ${A}
cd ${S}
use amd64 && epatch ${FILESDIR}/${P}-amd64.patch
}
src_compile() {
emake || die "emake failed"
}
src_install() {
insinto /usr/include
doins ibpp.h || die "doins failed"
cd release/linux
dolib.so libibpp.so || die "dolib.so failed"
dolib.a libibpp.a || die "dolib.a failed"
}
|