dev-db/soci: New package from nest
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
96cac69dd2
commit
5e66ce7752
1
dev-db/soci/Manifest
Normal file
1
dev-db/soci/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST soci-4.0.3.tar.gz 508750 BLAKE2B d444accf033e6876e45989c8d12bd801d6f0651dcec0766bc240052734be6ef0ee319ea198f5d931d0b3a0132d91eb013279df520442f696a4d60e3f04fb6a1f SHA512 d501f55e7e7408e46b4823fd8a97d6ef587f5db0f5b98434be8dfc5693c91b8c3b84a24454279c83142ab1cd1fa139c6e54d6d9a67397b2ead61650fcc88bcdb
|
21
dev-db/soci/metadata.xml
Normal file
21
dev-db/soci/metadata.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>spiderx@spiderx.dp.ua</email>
|
||||||
|
<name>Vladimir Pavljuchenkov</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
A database access library for C++ that makes the illusion of
|
||||||
|
embedding SQL queries in the regular C++ code, staying entirely
|
||||||
|
within the Standard C++.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">SOCI/soci</remote-id>
|
||||||
|
<remote-id type="sourceforge">soci</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
35
dev-db/soci/soci-4.0.3.ebuild
Normal file
35
dev-db/soci/soci-4.0.3.ebuild
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Database access library for C++"
|
||||||
|
HOMEPAGE="https://github.com/SOCI/soci"
|
||||||
|
SRC_URI="https://github.com/SOCI/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-1"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="firebird mysql odbc oracle postgres sqlite static-libs test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/boost:=
|
||||||
|
firebird? ( dev-db/firebird )
|
||||||
|
mysql? ( dev-db/mysql-connector-c:0= )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
oracle? ( dev-db/oracle-instantclient:= )
|
||||||
|
postgres? ( dev-db/postgresql:= )
|
||||||
|
sqlite? ( dev-db/sqlite:3 )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DSOCI_CXX11=ON
|
||||||
|
-DSOCI_STATIC="$(usex static-libs)"
|
||||||
|
-DSOCI_TESTS="$(usex test)"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Loading…
Reference in a new issue