diff options
Diffstat (limited to 'dev-db/cppdb')
-rw-r--r-- | dev-db/cppdb/Manifest | 5 | ||||
-rw-r--r-- | dev-db/cppdb/cppdb-0.3.1-r1.ebuild | 49 | ||||
-rw-r--r-- | dev-db/cppdb/metadata.xml | 13 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-db/cppdb/Manifest b/dev-db/cppdb/Manifest new file mode 100644 index 000000000000..48ae10954b3d --- /dev/null +++ b/dev-db/cppdb/Manifest @@ -0,0 +1,5 @@ +DIST cppdb-0.3.1.tar.bz2 251449 SHA256 d60eef5a732d8f84ef5e4a2845a8cefc543a6c75bf3782589c2cf6aa150b992e SHA512 19e60becbffef7a252eda5fdd5821b44c2eeb5d69e84cf46e89ed6af3cea315f3cfe7b2cc4f62fbe154be8abdad3363761dd0252f94671421010273eeae65678 WHIRLPOOL 71ab865ef7ffeae43ec8c7278553225ab0b6ccddc8355213a60ab77c835af569d157c77ff417e651754c3f34187b516f6e16fb982321de8701fa60619e19b77d +EBUILD cppdb-0.3.1-r1.ebuild 1353 SHA256 1c21e3613fab9532837b5ef956f520ffa579305d9b7014d111ae23ebd0585fd0 SHA512 bb1a2d18a3ec7843f519c788d59697b53cfc10c321b4caa1dba4910b764246f542794fae49f1b4971d6521d7ef191573cf45c9c161254ede6871f147af60c4bb WHIRLPOOL 750c3456dfb511c866be10609ef48a7dd27710631f8bfc0f9b1532bf1c81a21fee21a1c58cfccbf8a4507decbc8c789decad38782aee0be3b6145723a64256d1 +MISC ChangeLog 2295 SHA256 296e6a726d185c7d303dff665fa38f93edba3be19bfc9f917efa65afb3840ecc SHA512 15ee0a9cdb3f0d5acaa2e0e52e3cf33de9daae53f62ade9913e473ed3e029a2cc2de97315db8bb514b530df6644057696f24db4966c5aa33f77f21d23a14b723 WHIRLPOOL c4987018a3ec9b625d816d2f5b2ee3e35f73446cb61ea6eb93e62b186e0b9d6637bbbb1b7dd51004d4d3cc55668a1025bfb765022e3092dde0111d4e9a64de2e +MISC ChangeLog-2015 748 SHA256 68a8757314e57ca69a88e3a08778490e1dd368958efda4fc8a0aca302b38ea73 SHA512 91a84becbe3b139aa9db6e8ed0850559612be014a19e28b5d04925ca09019661518e1d192ba253fa8b052c7df10b766b2fb84bc5d31b59b762d1aa849e504284 WHIRLPOOL 73db4a027a0412088087e7805b149af81a6db095c1674519ad1ea3a7cb0af63a0e6ae844021adcab85c40c428589141ecde179958b28b1ab1092707f86d72c95 +MISC metadata.xml 767 SHA256 5350ed956055caf35b00f2422e2fec5a9ec1af3cf1ca85a642f3bd69252aef16 SHA512 930b662cc22169de50ef67af931799380b229c09a0b9b82c1ace9fa0abe75a685a3c3793c02cb85ac3d8f18f6450ea178e1a097e42e4d84c024286da9cbc085a WHIRLPOOL 1d35f95e1968a619a133381b9d8893c8b1028df97b9dae576cfb14099794e6619c11c91b6a41b20d4bf47631b3f4f48d4cb641a66d2f835d5acc3f46cbb3fc84 diff --git a/dev-db/cppdb/cppdb-0.3.1-r1.ebuild b/dev-db/cppdb/cppdb-0.3.1-r1.ebuild new file mode 100644 index 000000000000..bcc4bd16cdc4 --- /dev/null +++ b/dev-db/cppdb/cppdb-0.3.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit cmake-utils multilib + +DESCRIPTION="An SQL connectivity library for platform and database independent connectivity" +HOMEPAGE="http://cppcms.com/sql/cppdb/" +SRC_URI="mirror://sourceforge/cppcms/${P}.tar.bz2" + +LICENSE="|| ( Boost-1.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples mysql mysql_internal odbc odbc_internal postgres postgres_internal sqlite sqlite_internal" + +DEPEND=" + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 )" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=" + $(cmake-utils_use_disable mysql MYSQL) + $(cmake-utils_use mysql_internal MYSQL_BACKEND_INTERNAL) + $(cmake-utils_use_disable odbc ODBC) + $(cmake-utils_use odbc_internal ODBC_BACKEND_INTERNAL) + $(cmake-utils_use_disable postgres PQ) + $(cmake-utils_use postgres_internal PQ_BACKEND_INTERNAL) + $(cmake-utils_use_disable sqlite SQLITE) + $(cmake-utils_use sqlite_internal SQLITE_BACKEND_INTERNAL) + -DLIBDIR=$(get_libdir)" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if use doc; then + rm docs/build.txt || die + dodoc -r docs/* + dohtml -r html/* + fi + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-db/cppdb/metadata.xml b/dev-db/cppdb/metadata.xml new file mode 100644 index 000000000000..b4e431927502 --- /dev/null +++ b/dev-db/cppdb/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <use> + <flag name="mysql_internal">Don't build a separate mysql loadable module but rather build it into the cppdb library itself</flag> + <flag name="odbc_internal">Don't build a separate postgresql loadable module but rather build it into the cppdb library itself</flag> + <flag name="postgres_internal">Don't build a separate odbc loadable module but rather build it into the cppdb library itself</flag> + <flag name="sqlite_internal">Don't build a separate sqlite3 loadable module but rather build it into the cppdb library itself</flag> + </use> + <upstream> + <remote-id type="sourceforge">cppcms</remote-id> + </upstream> +</pkgmetadata> |