1 |
arfrever 10/01/07 18:15:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sqlite-3.6.22.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 15172-svn/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.312 dev-db/sqlite/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.312&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.312&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.311&r2=1.312 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v |
19 |
retrieving revision 1.311 |
20 |
retrieving revision 1.312 |
21 |
diff -u -r1.311 -r1.312 |
22 |
--- ChangeLog 3 Jan 2010 09:38:38 -0000 1.311 |
23 |
+++ ChangeLog 7 Jan 2010 18:15:01 -0000 1.312 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-db/sqlite |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.311 2010/01/03 09:38:38 betelgeuse Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.312 2010/01/07 18:15:01 arfrever Exp $ |
29 |
+ |
30 |
+*sqlite-3.6.22 (07 Jan 2010) |
31 |
+ |
32 |
+ 07 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 |
+ +sqlite-3.6.22.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
03 Jan 2010; Petteri Räty <betelgeuse@g.o> sqlite-3.6.21.ebuild: |
37 |
Turn on fts3 by default because FF3 needs it. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/sqlite/sqlite-3.6.22.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.22.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/sqlite/sqlite-3.6.22.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sqlite-3.6.22.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 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.22.ebuild,v 1.1 2010/01/07 18:15:01 arfrever Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils flag-o-matic multilib 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 |
|
61 |
SRC_URI=" |
62 |
tcl? ( http://www.sqlite.org/${P}.tar.gz ) |
63 |
!tcl? ( |
64 |
test? ( http://www.sqlite.org/${P}.tar.gz ) |
65 |
!test? ( http://www.sqlite.org/${PN}-amalgamation-${PV}.tar.gz ) |
66 |
) |
67 |
doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )" |
68 |
|
69 |
LICENSE="as-is" |
70 |
SLOT="3" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
72 |
IUSE="debug doc +fts3 icu +readline soundex tcl +threadsafe test" |
73 |
|
74 |
RDEPEND="icu? ( dev-libs/icu ) |
75 |
readline? ( sys-libs/readline ) |
76 |
tcl? ( dev-lang/tcl )" |
77 |
DEPEND="${RDEPEND} |
78 |
test? ( dev-lang/tcl ) |
79 |
doc? ( app-arch/unzip )" |
80 |
|
81 |
src_prepare() { |
82 |
if use icu; then |
83 |
rm -f test/like.test |
84 |
fi |
85 |
|
86 |
epunt_cxx |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
# Support column metadata, bug #266651 |
91 |
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
92 |
|
93 |
# Support R-trees, bug #257646 |
94 |
append-cppflags -DSQLITE_ENABLE_RTREE |
95 |
|
96 |
if use icu; then |
97 |
append-cppflags -DSQLITE_ENABLE_ICU |
98 |
if use tcl || use test; then |
99 |
# Normal tarball. |
100 |
sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
101 |
else |
102 |
# Amalgamation tarball. |
103 |
sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
104 |
fi |
105 |
fi |
106 |
|
107 |
# Support soundex, bug #143794 |
108 |
if use soundex; then |
109 |
append-cppflags -DSQLITE_SOUNDEX |
110 |
fi |
111 |
|
112 |
# Support FTS3, bug #207701 |
113 |
if use fts3; then |
114 |
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS |
115 |
fi |
116 |
|
117 |
# The amalgamation source doesn't have these via Makefile |
118 |
if use debug; then |
119 |
append-cppflags -DSQLITE_DEBUG=1 |
120 |
else |
121 |
append-cppflags -DNDEBUG |
122 |
fi |
123 |
|
124 |
# amalgamation doesn't have tcl |
125 |
econf \ |
126 |
$(use_enable readline) \ |
127 |
$(use_enable threadsafe) \ |
128 |
$(use tcl && echo --enable-tcl) \ |
129 |
$(use !tcl && use test && echo --disable-tcl) |
130 |
} |
131 |
|
132 |
src_compile() { |
133 |
emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed" |
134 |
} |
135 |
|
136 |
src_test() { |
137 |
if [[ "${EUID}" -ne "0" ]]; then |
138 |
local test="test" |
139 |
use debug && test="fulltest" |
140 |
emake ${test} || die "Some test(s) failed" |
141 |
else |
142 |
ewarn "The userpriv feature must be enabled to run tests." |
143 |
eerror "Testsuite will not be run." |
144 |
fi |
145 |
} |
146 |
|
147 |
src_install() { |
148 |
emake \ |
149 |
DESTDIR="${D}" \ |
150 |
TCLLIBDIR="/usr/$(get_libdir)/${P}" \ |
151 |
install \ |
152 |
|| die "emake install failed" |
153 |
|
154 |
doman sqlite3.1 || die "doman sqlite3.1 failed" |
155 |
|
156 |
if use doc; then |
157 |
# Naming scheme changes randomly between - and _ in releases |
158 |
# http://www.sqlite.org/cvstrac/tktview?tn=3523 |
159 |
dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die "dohtml failed" |
160 |
fi |
161 |
} |