summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-11-23 22:07:38 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-11-23 22:53:03 +0100
commit1ee46d6b600391c601c2df2e2bb49fbb63b20d77 (patch)
tree54d01728ed53cfa73e3dea6811049161bffd7236 /gnustep-libs/sqlclient
parentmail-client/claws-mail: 3.20.0, 4.2.0 bumps (diff)
downloadgentoo-1ee46d6b600391c601c2df2e2bb49fbb63b20d77.tar.gz
gentoo-1ee46d6b600391c601c2df2e2bb49fbb63b20d77.tar.bz2
gentoo-1ee46d6b600391c601c2df2e2bb49fbb63b20d77.zip
gnustep-libs/sqlclient: add 1.9.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-libs/sqlclient')
-rw-r--r--gnustep-libs/sqlclient/Manifest1
-rw-r--r--gnustep-libs/sqlclient/sqlclient-1.9.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/gnustep-libs/sqlclient/Manifest b/gnustep-libs/sqlclient/Manifest
index bceb2261c368..150743961752 100644
--- a/gnustep-libs/sqlclient/Manifest
+++ b/gnustep-libs/sqlclient/Manifest
@@ -1 +1,2 @@
DIST SQLClient-1.8.1.tar.gz 148622 BLAKE2B 824d7510dacaa813b9b696530cbc4c3ab49c6de3303a6c4c8694226907c84b780f0eb5ec1298214247a41191a393931c89aba7d08c6e3cc5ef953fa6e1553ce1 SHA512 f0339063bf1f0a9050826440f9d4c116fddf61e62f4a8fd4c694afd079d82b54b306dcdadcd29951bbb3502129de211d166e2958de4d31cd6e78563498f2b50f
+DIST SQLClient-1.9.0.tar.gz 175717 BLAKE2B 8dccd49c0773b7e22d9bce32ae6c596dcf9810271d2a226261869c0747a59a15d1b635332189ee7f4342d181ea4689441721a33a0c0e70ca0dc8944a2c16455b SHA512 e3404d8788b7a5a4459b8df8bc65bad323d3c4514f9e56d2b564e2dda0233a3d7b6bbcee5041efd6c8af91d6b429943a5060b0faed16378bf230bc6b1a297edc
diff --git a/gnustep-libs/sqlclient/sqlclient-1.9.0.ebuild b/gnustep-libs/sqlclient/sqlclient-1.9.0.ebuild
new file mode 100644
index 000000000000..8f05cc06e501
--- /dev/null
+++ b/gnustep-libs/sqlclient/sqlclient-1.9.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit java-pkg-opt-2 gnustep-2
+
+MY_P=${P/sqlc/SQLC}
+DESCRIPTION="GNUstep lightweight database abstraction layer"
+HOMEPAGE="http://wiki.gnustep.org/index.php/SQLClient"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/libs/${MY_P}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="LGPL-3"
+SLOT="0"
+
+IUSE="java mysql postgres +sqlite"
+
+RDEPEND=">=gnustep-libs/performance-0.3.2
+ mysql? ( dev-db/mysql-connector-c:= )
+ postgres? ( dev-db/postgresql:= )
+ sqlite? ( >=dev-db/sqlite-3 )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="|| ( java mysql postgres sqlite )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ if ! use doc; then
+ # Remove doc target
+ sed -i -e '/documentation\.make/d' GNUmakefile \
+ || die "doc sed failed"
+ fi
+
+ default
+}
+
+src_configure() {
+ local myconf=""
+ use java || myconf="${myconf} --disable-jdbc-bundle"
+ use mysql || myconf="${myconf} --disable-mysql-bundle"
+ use postgres || myconf="${myconf} --disable-postgres-bundle"
+ use sqlite || myconf="${myconf} --disable-sqllite-bundle"
+
+ egnustep_env
+ econf ${myconf}
+}