Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnustep-libs/sqlclient: metadata.xml ChangeLog sqlclient-1.7.0.ebuild
Date: Thu, 30 Jan 2014 00:07:08
Message-Id: 20140130000703.B4F642004C@flycatcher.gentoo.org
1 voyageur 14/01/30 00:07:03
2
3 Added: metadata.xml ChangeLog sqlclient-1.7.0.ebuild
4 Log:
5 Initial commit, ebuild by adr in bug #480620
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
8
9 Revision Changes Path
10 1.1 gnustep-libs/sqlclient/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>gnustep</herd>
21 <longdescription>The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements.
22
23 SQLClient provides for the Objective-C programmer much the same thing that JDBC provides for the Java programmer (though SQLClient is a bit faster, easier to use, and easier to add new database backends for than JDBC).</longdescription>
24 </pkgmetadata>
25
26
27
28 1.1 gnustep-libs/sqlclient/ChangeLog
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/ChangeLog?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/ChangeLog?rev=1.1&content-type=text/plain
32
33 Index: ChangeLog
34 ===================================================================
35 # ChangeLog for gnustep-libs/sqlclient
36 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
37 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/sqlclient/ChangeLog,v 1.1 2014/01/30 00:07:03 voyageur Exp $
38
39 *sqlclient-1.7.0 (30 Jan 2014)
40
41 30 Jan 2014; Bernard Cafarelli <voyageur@g.o> +sqlclient-1.7.0.ebuild,
42 +metadata.xml:
43 Initial commit, ebuild by adr in bug #480620
44
45
46
47
48 1.1 gnustep-libs/sqlclient/sqlclient-1.7.0.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/sqlclient-1.7.0.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnustep-libs/sqlclient/sqlclient-1.7.0.ebuild?rev=1.1&content-type=text/plain
52
53 Index: sqlclient-1.7.0.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/gnustep-libs/sqlclient/sqlclient-1.7.0.ebuild,v 1.1 2014/01/30 00:07:03 voyageur Exp $
58
59 EAPI=5
60 inherit java-pkg-opt-2 gnustep-2
61
62 MY_P=${P/sqlc/SQLC}
63 DESCRIPTION="GNUstep lightweight database abstraction layer"
64 HOMEPAGE="http://wiki.gnustep.org/index.php/SQLClient"
65 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/libs/${MY_P}.tar.gz"
66
67 KEYWORDS="~amd64 ~ppc ~x86"
68 LICENSE="LGPL-3"
69 SLOT="0"
70
71 IUSE="java mysql postgres +sqlite"
72
73 RDEPEND=">=gnustep-libs/performance-0.3.2
74 mysql? ( virtual/mysql )
75 postgres? ( dev-db/postgresql-base )
76 sqlite? ( >=dev-db/sqlite-3 )"
77 DEPEND="${RDEPEND}"
78
79 REQUIRED_USE="|| ( java mysql postgres sqlite )"
80
81 S=${WORKDIR}/${MY_P}
82
83 src_prepare() {
84 if ! use doc; then
85 # Remove doc target
86 sed -i -e '/documentation\.make/d' GNUmakefile \
87 || die "doc sed failed"
88 fi
89 }
90
91 src_configure() {
92 local myconf=""
93 use java || myconf="${myconf} --disable-jdbc-bundle"
94 use mysql || myconf="${myconf} --disable-mysql-bundle"
95 use postgres || myconf="${myconf} --disable-postgres-bundle"
96 use sqlite || myconf="${myconf} --disable-sqllite-bundle"
97
98 egnustep_env
99 econf ${myconf}
100 }