From 81d863ef5b6f7a4508d4371e8ea0f1994811e7ec Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Tue, 5 Feb 2019 14:24:13 -0500 Subject: dev-db/soci: Revbump for dependency change Closes: https://bugs.gentoo.org/665864 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans --- dev-db/soci/soci-3.2.3-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++ dev-db/soci/soci-3.2.3.ebuild | 50 ---------------------------------------- 2 files changed, 50 insertions(+), 50 deletions(-) create mode 100644 dev-db/soci/soci-3.2.3-r1.ebuild delete mode 100644 dev-db/soci/soci-3.2.3.ebuild (limited to 'dev-db') diff --git a/dev-db/soci/soci-3.2.3-r1.ebuild b/dev-db/soci/soci-3.2.3-r1.ebuild new file mode 100644 index 000000000000..9051f4411cb7 --- /dev/null +++ b/dev-db/soci/soci-3.2.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="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" +KEYWORDS="~amd64 ~x86" +IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite static-libs test" + +RDEPEND=" + firebird? ( dev-db/firebird ) + mysql? ( dev-db/mysql-connector-c:= ) + odbc? ( dev-db/unixODBC ) + oracle? ( dev-db/oracle-instantclient-basic ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + boost? ( dev-libs/boost ) +" + +src_configure() { + local mycmakeargs=( + -DWITH_BOOST=$(usex boost) + -DSOCI_EMPTY=$(usex empty) + -DWITH_FIREBIRD=$(usex firebird) + -DWITH_MYSQL=$(usex mysql) + -DWITH_ODBC=$(usex odbc) + -DWITH_ORACLE=$(usex oracle) + -DWITH_POSTGRESQL=$(usex postgres) + -DWITH_SQLITE3=$(usex sqlite) + -DSOCI_STATIC=$(usex static-libs) + -DSOCI_TESTS=$(usex test) + -DWITH_DB2=OFF + ) + #use MYCMAKEARGS if you want enable IBM DB2 support + cmake-utils_src_configure +} + +src_install() { + use doc && local HTML_DOCS=( doc/. ) + cmake-utils_src_install +} diff --git a/dev-db/soci/soci-3.2.3.ebuild b/dev-db/soci/soci-3.2.3.ebuild deleted file mode 100644 index f31882f3e189..000000000000 --- a/dev-db/soci/soci-3.2.3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils - -DESCRIPTION="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" -KEYWORDS="~amd64 ~x86" -IUSE="boost doc +empty firebird mysql odbc oracle postgres sqlite static-libs test" - -RDEPEND=" - firebird? ( dev-db/firebird ) - mysql? ( virtual/mysql ) - odbc? ( dev-db/unixODBC ) - oracle? ( dev-db/oracle-instantclient-basic ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND="${RDEPEND} - boost? ( dev-libs/boost ) -" - -src_configure() { - local mycmakeargs=( - -DWITH_BOOST=$(usex boost) - -DSOCI_EMPTY=$(usex empty) - -DWITH_FIREBIRD=$(usex firebird) - -DWITH_MYSQL=$(usex mysql) - -DWITH_ODBC=$(usex odbc) - -DWITH_ORACLE=$(usex oracle) - -DWITH_POSTGRESQL=$(usex postgres) - -DWITH_SQLITE3=$(usex sqlite) - -DSOCI_STATIC=$(usex static-libs) - -DSOCI_TESTS=$(usex test) - -DWITH_DB2=OFF - ) - #use MYCMAKEARGS if you want enable IBM DB2 support - cmake-utils_src_configure -} - -src_install() { - use doc && local HTML_DOCS=( doc/. ) - cmake-utils_src_install -} -- cgit v1.2.3-18-g5258