blob: 4bd0b9b8b63a007f7e937b6479df40738a4d944c (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/odbtp/odbtp-1.1.4.ebuild,v 1.2 2006/11/05 20:46:30 peper Exp $
inherit eutils
DESCRIPTION="ODBTP is a fast, efficient TCP/IP protocol for connecting to Win32-based databases from any platform."
HOMEPAGE="http://odbtp.sourceforge.net/"
SRC_URI="mirror://sourceforge/odbtp/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
src_unpack() {
unpack ${A}
cd "${S}"
# Patch according to the README.64bitOS
use amd64 && epatch "${FILESDIR}/${P}-amd64.patch"
}
src_compile() {
econf || die "econf failed"
emake -j1 || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
# Install various documentation
dodoc AUTHORS INSTALL NEWS README*
if useq doc ; then
dohtml -r docs/*
fi
}
|