mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
dev-db/tdscpp: add 20250301, drop 20240707
Signed-off-by: Mark Harmstone <mark@harmstone.com>
This commit is contained in:
35
dev-db/tdscpp/tdscpp-20250301.ebuild
Normal file
35
dev-db/tdscpp/tdscpp-20250301.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C++ library to communicate with Microsoft SQL server"
|
||||
HOMEPAGE="https://github.com/maharmstone/tdscpp"
|
||||
SRC_URI="https://codeload.github.com/maharmstone/tdscpp/tar.gz/refs/tags/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
IUSE="kerberos +ssl"
|
||||
|
||||
DEPEND="dev-cpp/nlohmann_json
|
||||
dev-libs/icu
|
||||
kerberos? ( virtual/krb5 )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_KRB5="$(usex kerberos)"
|
||||
-DWITH_OPENSSL="$(usex ssl)"
|
||||
-DBUILD_SAMPLE=OFF
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user