diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-db/odbtp/odbtp-1.1.4.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-db/odbtp/odbtp-1.1.4.ebuild')
-rw-r--r-- | dev-db/odbtp/odbtp-1.1.4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-db/odbtp/odbtp-1.1.4.ebuild b/dev-db/odbtp/odbtp-1.1.4.ebuild new file mode 100644 index 000000000000..fa6048a6e8f1 --- /dev/null +++ b/dev-db/odbtp/odbtp-1.1.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit eutils toolchain-funcs + +DESCRIPTION="Fast, efficient TCP/IP protocol for connecting to Win32-based databases" +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() { + # respect $CC (bug #243768) + tc-export CC + 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 use doc ; then + dohtml -r docs/* + fi +} |