Gentoo Archives: gentoo-commits

From: "Thomas Sachau (tommy)" <tommy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/sqlite: ChangeLog sqlite-3.6.11.ebuild
Date: Sun, 01 Mar 2009 02:56:41
Message-Id: E1Ldbr4-0005oZ-PK@stork.gentoo.org
1 tommy 09/03/01 02:56:38
2
3 Modified: ChangeLog
4 Added: sqlite-3.6.11.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.223 dev-db/sqlite/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.223&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.223&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.222&r2=1.223
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v
19 retrieving revision 1.222
20 retrieving revision 1.223
21 diff -u -r1.222 -r1.223
22 --- ChangeLog 26 Feb 2009 20:03:46 -0000 1.222
23 +++ ChangeLog 1 Mar 2009 02:56:38 -0000 1.223
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-db/sqlite
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.222 2009/02/26 20:03:46 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.223 2009/03/01 02:56:38 tommy Exp $
29 +
30 +*sqlite-3.6.11 (01 Mar 2009)
31 +
32 + 01 Mar 2009; Thomas Sachau (Tommy[D]) <tommy@g.o>
33 + +files/sqlite-3.6.11-reference.patch, +sqlite-3.6.11.ebuild:
34 + Version bump
35
36 26 Feb 2009; Brent Baude <ranger@g.o> sqlite-3.6.10.ebuild:
37 stable ppc64, bug 259462
38
39
40
41 1.1 dev-db/sqlite/sqlite-3.6.11.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sqlite-3.6.11.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.11.ebuild,v 1.1 2009/03/01 02:56:38 tommy Exp $
51
52 EAPI="1"
53
54 inherit autotools eutils flag-o-matic libtool versionator
55
56 DESCRIPTION="an SQL Database Engine in a C Library"
57 HOMEPAGE="http://www.sqlite.org/"
58 DOC_BASE="$(get_version_component_range 1-3)"
59 DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
60 SRC_URI="http://www.sqlite.org/${P}.tar.gz
61 doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
62
63 LICENSE="as-is"
64 SLOT="3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
66 IUSE="debug doc soundex tcl +threadsafe"
67 RESTRICT="!tcl? ( test )"
68
69 RDEPEND="tcl? ( dev-lang/tcl )"
70 DEPEND="${RDEPEND}
71 doc? ( app-arch/unzip )"
72
73 pkg_setup() {
74 # test
75 if has test ${FEATURES}; then
76 if ! has userpriv ${FEATURES}; then
77 ewarn "The userpriv feature must be enabled to run tests."
78 eerror "Testsuite will not be run."
79 fi
80 if ! use tcl; then
81 ewarn "You must enable the tcl use flag if you want to run the testsuite."
82 eerror "Testsuite will not be run."
83 fi
84 fi
85 }
86
87 src_unpack() {
88 unpack ${A}
89 cd "${S}"
90
91 epatch "${FILESDIR}"/sandbox-fix2.patch
92 epatch "${FILESDIR}"/${P}-reference.patch
93
94 eautoreconf
95 epunt_cxx
96 }
97
98 src_compile() {
99 # not available via configure and requested in bug #143794
100 use soundex && append-flags -DSQLITE_SOUNDEX=1
101
102 econf \
103 $(use_enable debug) \
104 $(use_enable threadsafe) \
105 $(use_enable threadsafe cross-thread-connections) \
106 $(use_enable tcl)
107 emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
108 }
109
110 src_test() {
111 if has userpriv ${FEATURES}; then
112 local test=test
113 use debug && tets=fulltest
114 emake ${test} || die "some test(s) failed"
115 fi
116 }
117
118 src_install() {
119 emake \
120 DESTDIR="${D}" \
121 TCLLIBDIR="/usr/$(get_libdir)/${P}" \
122 install \
123 || die "emake install failed"
124
125 doman sqlite3.1 || die
126
127 if use doc; then
128 # Naming scheme changes randomly between - and _ in releases
129 # http://www.sqlite.org/cvstrac/tktview?tn=3523
130 dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
131 fi
132 }
133
134 pkg_postinst() {
135 elog "sqlite-3.6.X is not totally backwards compatible, see"
136 elog "http://www.sqlite.org/releaselog/3_6_0.html for full details."
137 }