summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-02-17 11:35:11 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2016-02-17 11:39:52 +0100
commita3911cf802a625fb1d674553730f1f9ed8ef4a29 (patch)
tree98951d5058ad0e37d7295f885c3d4204fc1ab6a3 /gnustep-libs/sqlclient
parentgnustep-libs/performance: version bump (diff)
downloadgentoo-a3911cf802a625fb1d674553730f1f9ed8ef4a29.tar.gz
gentoo-a3911cf802a625fb1d674553730f1f9ed8ef4a29.tar.bz2
gentoo-a3911cf802a625fb1d674553730f1f9ed8ef4a29.zip
gnustep-libs/sqlclient: version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'gnustep-libs/sqlclient')
-rw-r--r--gnustep-libs/sqlclient/Manifest1
-rw-r--r--gnustep-libs/sqlclient/sqlclient-1.8.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/gnustep-libs/sqlclient/Manifest b/gnustep-libs/sqlclient/Manifest
index 05a3d189a333..ca72fefca77d 100644
--- a/gnustep-libs/sqlclient/Manifest
+++ b/gnustep-libs/sqlclient/Manifest
@@ -1 +1,2 @@
DIST SQLClient-1.7.0.tar.gz 164218 SHA256 8f9c9491f774fce3bf369e407c8f22091c597baddc1a4b0bfe8ccb251bb79462 SHA512 cf4c9ec3bb60b57f4cc2673353029c77a0994c6912e9b5ee9bdab593b68663bde4a465cae6f39482c34fc0a5acff66ac2059be3644eb8db30a399c754e238809 WHIRLPOOL 153dd519969f437579ae3e24732c20c90fec5e141eddf746e4c55b35e7dadb388e4d0ae07b134ca0549e32f4cf6649d7ed1aa798e43498d57701dec664ae0cd0
+DIST SQLClient-1.8.1.tar.gz 148622 SHA256 c6cb9d0033b496b52b698f1f80007b6acd215441683cf1a1c22f67a96198074f SHA512 f0339063bf1f0a9050826440f9d4c116fddf61e62f4a8fd4c694afd079d82b54b306dcdadcd29951bbb3502129de211d166e2958de4d31cd6e78563498f2b50f WHIRLPOOL 2dff10803b231a3d4634a8efb22be7e077c2afc6a679d56ea919c0ff98a4f9aa23c6812406df7e5b2fc811a95cfeb8944845313d69869d73da5db39c9ebb429c
diff --git a/gnustep-libs/sqlclient/sqlclient-1.8.1.ebuild b/gnustep-libs/sqlclient/sqlclient-1.8.1.ebuild
new file mode 100644
index 000000000000..0a4e91d0d7af
--- /dev/null
+++ b/gnustep-libs/sqlclient/sqlclient-1.8.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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? ( virtual/mysql:= )
+ 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}
+}