summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-05-11 23:27:04 +0000
committerMichael Weber <xmw@gentoo.org>2011-05-11 23:27:04 +0000
commitd98845144b1801cefacd5da6d984ca177e1760d9 (patch)
treefb32c847a4625a6abd620757f601cf60e4e6d545 /dev-libs/libsqlora8
parentadded ~amd64 keyword (diff)
downloadhistorical-d98845144b1801cefacd5da6d984ca177e1760d9.tar.gz
historical-d98845144b1801cefacd5da6d984ca177e1760d9.tar.bz2
historical-d98845144b1801cefacd5da6d984ca177e1760d9.zip
Version bump
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libsqlora8')
-rw-r--r--dev-libs/libsqlora8/ChangeLog9
-rw-r--r--dev-libs/libsqlora8/Manifest14
-rw-r--r--dev-libs/libsqlora8/libsqlora8-2.3.3.ebuild62
3 files changed, 77 insertions, 8 deletions
diff --git a/dev-libs/libsqlora8/ChangeLog b/dev-libs/libsqlora8/ChangeLog
index eb0c999b486d..c93f31d6a62b 100644
--- a/dev-libs/libsqlora8/ChangeLog
+++ b/dev-libs/libsqlora8/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libsqlora8
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/ChangeLog,v 1.8 2008/08/06 10:04:34 ulm Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/ChangeLog,v 1.9 2011/05/11 23:27:04 xmw Exp $
+
+*libsqlora8-2.3.3 (11 May 2011)
+
+ 11 May 2011; Michael Weber <xmw@gentoo.org> +libsqlora8-2.3.3.ebuild:
+ Version bump, thanks to Eckard Brauer for the hint (bug 186461)
06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
Add USE flag description to metadata wrt GLEP 56.
diff --git a/dev-libs/libsqlora8/Manifest b/dev-libs/libsqlora8/Manifest
index bad084c78c90..e075bd8d2c07 100644
--- a/dev-libs/libsqlora8/Manifest
+++ b/dev-libs/libsqlora8/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST libsqlora8-2.2.11.tar.gz 395847 RMD160 d606f979a3ab197bf13c576661982e100716145e SHA1 0969403142ff34e012cf08a1622200195cbdb22e SHA256 f6daf597b6066c405c0959e7223a794dbbceeae98b9d3a68f16f256d2a8f0ccd
+DIST libsqlora8-2.3.3.tar.gz 1130458 RMD160 b30063d952a514fa37b4be02907b6e31780345fc SHA1 056fe03ff5b6dd37968d75f897bdd4efb89e5361 SHA256 958f68fa7f7d64de5231333d0eac268bdb936152ba0572d57b3668f62da66bc1
EBUILD libsqlora8-2.2.11.ebuild 1633 RMD160 37e3ef78a6086a64118670e68ea2e4152dcc1eca SHA1 0a679503c1c731c21c3a7faa1639f61113fe0967 SHA256 128aa7998c23861c04840deba92897bcfe9d80c0b3accb070adb094bf7a4961d
-MISC ChangeLog 1254 RMD160 b94c233897c74c32cdc9fe88a878852e7c06ffee SHA1 e17b3478ed428e3ccd4bd057f9a65f5420ddbaed SHA256 c8c1dd8da796db8aafcb7cb2521a91398eafb57554223b531a6216490cf5b707
+EBUILD libsqlora8-2.3.3.ebuild 1624 RMD160 8d0e789acceb1c26323233d42ed365823e50eafe SHA1 e76f0cc1d9b88453d74b679d82a53a2b3c650b84 SHA256 e1f0ab2cc1dc396bd1d9e7e287962ad0964aab803623315060cd7968277a7a9e
+MISC ChangeLog 1426 RMD160 eb5c06e186b35da1970a06e69bd9749696cf8385 SHA1 3ffe5d56d6a6f73245ec4e05e9c4bf73c72c5434 SHA256 19c3dbc3d477d8396e0f470cfec39ed5a812fc52b6c5a619db805c174cb81ecc
MISC metadata.xml 484 RMD160 2a0a952576cfcda4f98cebfad756ba32e15ed1d9 SHA1 9f06e6cbc51b54ea37e85218493630e9a4c08fff SHA256 6798a42a5799ca586bbd12763ae263e0771413e6db149dff0b3056db9985dc9e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkiZd0QACgkQOeoy/oIi7uxTMACfXqx1APcaisw34EzBw9FBU9UJ
-hYYAni0Vg1hual5gCThjgUHra4wj2vpC
-=k2/T
+iF4EAREIAAYFAk3LG00ACgkQknrdDGLu8JAUtgD+Osnvobo18JlOfwf0tVSWRC1s
+iPvKuFfjpJrwcWYOVXkA/28sFjghh6643pWoCPlWq+g17zq67T7g1+kY5TEJpqah
+=XAdp
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libsqlora8/libsqlora8-2.3.3.ebuild b/dev-libs/libsqlora8/libsqlora8-2.3.3.ebuild
new file mode 100644
index 000000000000..277a27208ccd
--- /dev/null
+++ b/dev-libs/libsqlora8/libsqlora8-2.3.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsqlora8/libsqlora8-2.3.3.ebuild,v 1.1 2011/05/11 23:27:04 xmw Exp $
+
+IUSE="threads orathreads"
+
+DESCRIPTION="libsqlora8 is a simple C-library to access Oracle databases via the OCI interface"
+SRC_URI="http://www.poitschke.de/libsqlora8/${P}.tar.gz"
+HOMEPAGE="http://www.poitschke.de/libsqlora8/index_noframe.html"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=""
+
+pkg_setup() {
+ if use orathreads && use threads; then
+ eerror
+ eerror 'Enable the "threads" USE flag for POSIX threads,'
+ eerror '*or* the "orathreads" USE flag for Oracle threads'
+ eerror
+ die 'Both "threads" and "orathreads" USE flags set, see above'
+ fi
+
+ # Make sure ORACLE_HOME is set
+ if [ -z "${ORACLE_HOME}" ]; then
+ eerror
+ eerror 'libsqlora8 requires that the ORACLE_HOME environment variable be set.'
+ eerror 'Try: "export ORACLE_HOME=/usr/local/oracle" if you do not know what to do.'
+ eerror
+ die 'ORACLE_HOME not set, see above'
+ fi
+}
+
+src_compile() {
+ local myconf;
+
+ # Add $ORACLE_HOME/lib to LD_LIBRARY_PATH
+ if [ -z "${LD_LIBRARY_PATH}" ]; then
+ LD_LIBRARY_PATH=${ORACLE_HOME}/lib
+ else
+ LD_LIBRARY_PATH=${ORACLE_HOME}/lib:${LD_LIBRARY_PATH}
+ fi
+
+ export LD_LIBRARY_PATH
+
+ use threads && myconf="--with-threads=posix"
+ use orathreads && myconf="--with-threads=oracle"
+
+ # Build
+ econf ${myconf} || die "configure failed"
+ emake
+}
+
+src_install () {
+ einstall
+ dodoc COPYING ChangeLog INSTALL NEWS NEWS-2.2
+
+ # TODO
+ # Copy contents of doc and examples directory to doc
+}