diff options
Diffstat (limited to 'dev-db/odbtp')
-rw-r--r-- | dev-db/odbtp/Manifest | 4 | ||||
-rw-r--r-- | dev-db/odbtp/files/odbtp-1.1.4-amd64.patch | 11 | ||||
-rw-r--r-- | dev-db/odbtp/metadata.xml | 8 | ||||
-rw-r--r-- | dev-db/odbtp/odbtp-1.1.4.ebuild | 40 |
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-db/odbtp/Manifest b/dev-db/odbtp/Manifest new file mode 100644 index 000000000000..637441cc6869 --- /dev/null +++ b/dev-db/odbtp/Manifest @@ -0,0 +1,4 @@ +AUX odbtp-1.1.4-amd64.patch 331 BLAKE2B 49c2f05527d933f209731a6d39f008d1a84c3db27eef5c5a20b4371b86d45c58932e117b0d3ea0c94b4ec7976342e1fb1b8afdf39f195237d6f4cedf46252bc8 SHA512 e2f9f6874ce9b40ba0c3e4d0619af8ade796fe5e03e25ff93d1bd94d2c43bcf8212d9dd4ebf9ff3fd462231cff6d7c59a755a9e5a58cc8de49e4e326950deaa7 +DIST odbtp-1.1.4.tar.gz 1049975 BLAKE2B be7a674ce871ee1b8f9b636bed78ff396648d335ffa1d01347ec6414ec9ca85091c8a5d0de2bcaff13e49e495ae1396bd22e903e40968582c7c689a46244ebc2 SHA512 4b87c8733fc1f017546024901874b0ea2f410646ef39f9581cc170773639077c3f885813550422966e8797489c66b32b75de85fa658e3bb84da285b96c0a7b70 +EBUILD odbtp-1.1.4.ebuild 840 BLAKE2B 52146688457c6b3422eb58130d947d80d66178b2d81bc161e23201d85ac68022ee2f6aaec08750c32a9e27ef650c23795a70ba8629624f8fbee7a33bcd572a99 SHA512 ede291791076e225994cf5b2ba2aeb266d006148f3e7c0cab3973be7fae6e5b9c6a1d777b42e16cd724d8ccfad103c325d20b9fc461b037f01a71183531bd39e +MISC metadata.xml 242 BLAKE2B 76781b6c876647b5fbb1ff6e12addeb8c1c8ed4dc87f64b2139c991448a19ef29124d3ffefbf07d44fe07fab755a90b26793c26a45ee33d77b8d4a66495e7a02 SHA512 283656b4ec20f636e1ee18de3c598a3100abb2862c7117da8c5fe9ea47b63c1b47fc17ca11313164d5b1e341e4480b5841271ea35236652fbb3f971fef2c51ec diff --git a/dev-db/odbtp/files/odbtp-1.1.4-amd64.patch b/dev-db/odbtp/files/odbtp-1.1.4-amd64.patch new file mode 100644 index 000000000000..1ba2cb3b71e5 --- /dev/null +++ b/dev-db/odbtp/files/odbtp-1.1.4-amd64.patch @@ -0,0 +1,11 @@ +--- odbtp-1.1.4/odbtp.h.old 2006-11-05 21:29:33.000000000 +0100 ++++ odbtp-1.1.4/odbtp.h 2006-11-05 21:29:44.000000000 +0100 +@@ -22,7 +22,7 @@ + #define _ODBTP_H_ + + /* The below line must be uncommented for 64-bit systems, such as Tru64. */ +-/* #define _C_LONG_64_ 1 */ ++#define _C_LONG_64_ 1 + + #define ODBTP_LIB_VERSION "1.1.4" + diff --git a/dev-db/odbtp/metadata.xml b/dev-db/odbtp/metadata.xml new file mode 100644 index 000000000000..c5e963f21d42 --- /dev/null +++ b/dev-db/odbtp/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="sourceforge">odbtp</remote-id> + </upstream> +</pkgmetadata> 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 +} |