diff options
Diffstat (limited to 'dev-db/soci/soci-2.2.0.ebuild')
-rw-r--r-- | dev-db/soci/soci-2.2.0.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-db/soci/soci-2.2.0.ebuild b/dev-db/soci/soci-2.2.0.ebuild deleted file mode 100644 index a6a8bd31d..000000000 --- a/dev-db/soci/soci-2.2.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -KEYWORDS="~amd64 ~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}.tar.gz" -LICENSE="Boost-1.0" -SLOT="0" -IUSE="debug firebird mysql postgres sqlite3" - -DEPEND="firebird? ( dev-db/firebird ) - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - sqlite3? ( =dev-db/sqlite-3* )" -RDEPEND=${DEPEND} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-sqlite_fix.patch" \ - "${FILESDIR}/${P}-gcc43_glibc28.patch" -} - -src_compile() { - local myconf - use debug && myconf="--enable-debug=yes" || myconf="--enable-debug=no" - econf ${myconf} \ - $(use_enable mysql backend-mysql) \ - $(use_enable sqlite3 backend-sqlite3) \ - $(use_enable postgres backend-postgresql) \ - $(use_enable firebird backend-firebird) - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc CHANGES README || die - dohtml -r doc/* || die -} |