summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2012-04-07 00:41:26 +0300
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2012-04-07 00:41:26 +0300
commit5b75b31ceed70326b446d9efb441b679fb3c80c1 (patch)
treed80044b218013356abfeec4dac2aa287968b3f4c /dev-db
parentdev-java/jlibeps: New Ebuild for bug #162790 thanks to Tommy[D], sera, hasufell (diff)
downloadsunrise-5b75b31ceed70326b446d9efb441b679fb3c80c1.tar.gz
sunrise-5b75b31ceed70326b446d9efb441b679fb3c80c1.tar.bz2
sunrise-5b75b31ceed70326b446d9efb441b679fb3c80c1.zip
dev-db/soci: Version bump 3.1.0, leaving ver. 2.2.0 because the new one was not tested on amd64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/soci/ChangeLog9
-rw-r--r--dev-db/soci/Manifest6
-rw-r--r--dev-db/soci/metadata.xml6
-rw-r--r--dev-db/soci/soci-3.1.0.ebuild44
4 files changed, 61 insertions, 4 deletions
diff --git a/dev-db/soci/ChangeLog b/dev-db/soci/ChangeLog
index ae0c41bbb..b2d4b08f8 100644
--- a/dev-db/soci/ChangeLog
+++ b/dev-db/soci/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for dev-db/soci
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*soci-3.1.0 (06 Apr 2012)
+
+ 06 Apr 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com
+ +soci-3.1.0.ebuild, metadata.xml:
+ Version bump 3.1.0, leaving ver. 2.2.0 because the new one was not tested on
+ amd64
+
18 Jun 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
soci-2.2.0.ebuild:
Migrating away from deprecated postgres virtuals
diff --git a/dev-db/soci/Manifest b/dev-db/soci/Manifest
index 1ece9e0b0..7cb225011 100644
--- a/dev-db/soci/Manifest
+++ b/dev-db/soci/Manifest
@@ -1,6 +1,8 @@
AUX soci-2.2.0-gcc43_glibc28.patch 3022 RMD160 a854769e273b53e7ffe26e67261bd4b47109c82b SHA1 42becb7fe19b353b4902fd8ac45f510f07a435b5 SHA256 20079b0ca71def2e2044ddd50ab735d7067b39949e5e1cf4d81234696937e84a
AUX soci-2.2.0-sqlite_fix.patch 598 RMD160 9fbe42001405c6a787e73f7026cdf056316f9eb1 SHA1 0f624f9e6d0d2d443726f8a7e491084323fcb143 SHA256 27dde3b59b25786d5509ba1c57c86a236525c8f8b8f91444401ec62c660c31d4
DIST soci-2.2.0.tar.gz 570405 RMD160 0e4098f8ddf1f1ce161116c8bb3a3df689ac7ff5 SHA1 4e726d0a9a59173042cb8a6aba7148640a156dd7 SHA256 01fc160500e9db024a56f0a7553e13885b37fc7b3b23882b07a3d6e8313780fa
+DIST soci-3.1.0.zip 418596 RMD160 dd57c0ae4a38f2fcebcfe857f5edc5a16d1e3b34 SHA1 9cb4491c09d7330a45cdfff6ed4931d8bd2731e0 SHA256 f7004cb2ac040b1fa6ce3cf7ea36e9fe5cdff92c6444ffd764ab2279d5f72449
EBUILD soci-2.2.0.ebuild 1176 RMD160 e78154ba9a105c4b2393471b3b6040aa6f5d508b SHA1 a9319279317cb9c121ab2f1646102ed4355fc970 SHA256 03a587ad8957d5d0128396d61c436e190b4f6f1aaf8cf0265cbf7fb8ee8cfb8d
-MISC ChangeLog 1375 RMD160 3e411675086b41729c6974f701e3f4f2c5e46f61 SHA1 2b7879a9130cd5a757ba39f4fea4b8d8b735caa1 SHA256 b0d66a1dcd683b69f65951a3479f859d65c9f83061b4ea0dcc563124d7233a68
-MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82
+EBUILD soci-3.1.0.ebuild 1123 RMD160 ff43f266b7ee6292efeb5545dc2b2938730bb2b7 SHA1 7cf13ed37f2639f128df7a7055d125f1138c455a SHA256 0b2dd612a001915cb063b8ae49e7a9c0de4b0b2e8204afe0f50e97f2be59c17a
+MISC ChangeLog 1589 RMD160 2f86e0676739a4e0fbe2e2085b63859857228985 SHA1 a559ac61c7e0dc46460fc87a042fd473cad8f48d SHA256 156215cc91617d114aab76c2a4c420a2acdc221abc715c1a2c5dc0d62387deed
+MISC metadata.xml 339 RMD160 173bf51b3529166dc2f659905afb08862d381004 SHA1 b99671277ccca0159ac20d73dcf18618b5717de9 SHA256 cba62e8e3c2453d559c68615df1a6aefd5e337045706a8793ed82633af443fd0
diff --git a/dev-db/soci/metadata.xml b/dev-db/soci/metadata.xml
index 31dc017fa..f95be0787 100644
--- a/dev-db/soci/metadata.xml
+++ b/dev-db/soci/metadata.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+ <use>
+ <flag name="boost">Enable boost support</flag>
+ <flag name="empty">Build the sample backend called Empty</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-db/soci/soci-3.1.0.ebuild b/dev-db/soci/soci-3.1.0.ebuild
new file mode 100644
index 000000000..4333e9361
--- /dev/null
+++ b/dev-db/soci/soci-3.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils
+
+KEYWORDS="~x86"
+
+DESCRIPTION="A db access library for C++ that makes the illusion of embedding SQL queries in the regular C++ code"
+HOMEPAGE="http://soci.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+LICENSE="Boost-1.0"
+SLOT="0"
+IUSE="boost doc +empty mysql odbc oracle postgres sqlite"
+
+DEPEND="boost? ( dev-libs/boost )
+ mysql? ( virtual/mysql )
+ odbc? ( dev-db/unixODBC )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql-base )
+ sqlite? ( dev-db/sqlite:3 )
+"
+RDEPEND=${DEPEND}
+
+src_configure() {
+ local mycmakeargs="$(cmake-utils_use_with boost )
+ $(cmake-utils_use empty SOCI_EMPTY)
+ $(cmake-utils_use_with mysql MYSQL)
+ $(cmake-utils_use_with odbc ODBC)
+ $(cmake-utils_use_with oracle ORACLE)
+ $(cmake-utils_use_with postgres POSTGRESQL)
+ $(cmake-utils_use_with sqlite SQLITE3)"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS CHANGES
+ if use doc; then
+ dohtml -r doc/*
+ fi
+}