summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/informix-client-sdk/Manifest3
-rw-r--r--dev-db/informix-client-sdk/files/env.d-3.702
-rw-r--r--dev-db/informix-client-sdk/informix-client-sdk-3.70.ebuild50
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-db/informix-client-sdk/Manifest b/dev-db/informix-client-sdk/Manifest
new file mode 100644
index 0000000..7beda8b
--- /dev/null
+++ b/dev-db/informix-client-sdk/Manifest
@@ -0,0 +1,3 @@
+AUX env.d-3.70 75 SHA256 c9417999ac1a4796e20231b20873b6c836ff0a8a21bf27ab6a3b74b6823c1bce SHA512 d147085f490fd60a90c8d78957e601f3aeb0961e6b98c0b573dc8373e37b0970683421434599ea02e611f7db4cc4f2610521de521d3c0190c9f895939fe59b96 WHIRLPOOL bff8dbf77455f2be8849aa5d2a8c42937443918eec4659badb9f73b90c909e559015404227a6f0be48f759f11a127b190ff0627a9b00526300d18d5dcaa6d9e0
+DIST clientsdk.3.70.FC4DE.LINUXx86.tar 246988800 SHA256 6268adc8e3ab53362c303b014b88020e110f469a59e5e97c1c6feb8c247a4aaa SHA512 8f625f6b103d6112004928fe9e1453e153aa8afe1bc19a526f8d45787796b16b3ecb4c4b3d101a319d39493d8c655d78e9021a3a19d9970695574f5e2a005920 WHIRLPOOL f575dfa54913e4adb518d06daa5538cac4f10f88b33198f37a4b24172d126f4cbf3e350722701b7633ecd860436f706bab03869f6f75eabfef88f9e376da9d90
+EBUILD informix-client-sdk-3.70.ebuild 1333 SHA256 830821d46e45297f9019d09dc07b56099bc2e35fcfb5582a71243ec7a06e26e2 SHA512 107aedb908dd30a640e6b7a55635dcd5b2b13b5d34f2bd4432e0963e9a6ed7926b2ba10860949c4ab6c509399f63653f317a529240d81393699bea917f0c56b7 WHIRLPOOL a952d924395d46b857ffa5f0a81d4a8667cbae5b0216db340f72481049f74b9575af3f1cc7e4db1a7ce2b7a9366ac824320f9fca5c9de5caefd74a6a046500f0
diff --git a/dev-db/informix-client-sdk/files/env.d-3.70 b/dev-db/informix-client-sdk/files/env.d-3.70
new file mode 100644
index 0000000..bdace15
--- /dev/null
+++ b/dev-db/informix-client-sdk/files/env.d-3.70
@@ -0,0 +1,2 @@
+PATH="/opt/informix/bin"
+LDPATH="/opt/informix/lib:/opt/informix/lib/esql"
diff --git a/dev-db/informix-client-sdk/informix-client-sdk-3.70.ebuild b/dev-db/informix-client-sdk/informix-client-sdk-3.70.ebuild
new file mode 100644
index 0000000..507b0a6
--- /dev/null
+++ b/dev-db/informix-client-sdk/informix-client-sdk-3.70.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+DESCRIPTION="IBM® Informix® Client Software Development Kit (CSDK) offers a single packaging of several APIs that are optimized for developing applications for Informix servers."
+HOMEPAGE="www.ibm.com/software/products/en/csdk/"
+SRC_URI="file://localhost/clientsdk.3.70.FC4DE.LINUXx86.tar"
+
+LICENSE="Informix"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+esql cxx odbc lmi tools"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+RESTRICT="fetch"
+
+src_unpack() {
+ mkdir -p ${S}
+ tar -xf ${DISTDIR}/${A} -C ${S}
+}
+
+src_compile() {
+ cd ${S} || die
+ touch opts || die
+
+ FEATURES="SDK,GLS"
+ use cxx && FEATURES="$FEATURES,SDK-CPP"
+ use esql && FEATURES="$FEATURES,SDK-ESQL,SDK-ESQL-ACM"
+ use odbc && FEATURES="$FEATURES,SDK-ODBC"
+ use lmi && FEATURES="$FEATURES,SDK-LMI"
+ use tools && FEATURES="$FEATURES,DBA-DBA"
+
+ echo "LICENSE_ACCEPTED=TRUE" >> opts
+ echo "USER_INSTALL_DIR=${D}/opt/informix" >> opts
+ echo "CHOSEN_FEATURE_LIST=$FEATURES" >> opts
+ echo "CHOSEN_INSTALL_FEATURE_LIST=$FEATURES" >> opts
+ echo "CHOSEN_INSTALL_SET=Custom" >> opts
+}
+
+src_install() {
+ cd ${S} || die
+ addpredict /var/.com.zerog.registry.xml
+ ./installclientsdk -i silent -f opts || die
+ insinto /etc/env.d
+ newins "${FILESDIR}/env.d-3.70" "99informix"
+}
+