1 |
hwoarang 11/07/01 21:44:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: sqlite-3.7.7.1.ebuild |
5 |
Log: |
6 |
Version bump. Requested by Arfrever |
7 |
|
8 |
(Portage version: 2.2.0_alpha42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.376 dev-db/sqlite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.376&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?rev=1.376&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/ChangeLog?r1=1.375&r2=1.376 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v |
20 |
retrieving revision 1.375 |
21 |
retrieving revision 1.376 |
22 |
diff -u -r1.375 -r1.376 |
23 |
--- ChangeLog 26 Jun 2011 20:00:55 -0000 1.375 |
24 |
+++ ChangeLog 1 Jul 2011 21:44:42 -0000 1.376 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/sqlite |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.375 2011/06/26 20:00:55 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.376 2011/07/01 21:44:42 hwoarang Exp $ |
30 |
+ |
31 |
+*sqlite-3.7.7.1 (01 Jul 2011) |
32 |
+ |
33 |
+ 01 Jul 2011; Markos Chandras <hwoarang@g.o> +sqlite-3.7.7.1.ebuild: |
34 |
+ Version bump. Requested by Arfrever |
35 |
|
36 |
26 Jun 2011; Markus Meier <maekke@g.o> sqlite-3.7.6.3.ebuild: |
37 |
arm stable, bug #372307 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/sqlite/sqlite-3.7.7.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/sqlite-3.7.7.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/sqlite/sqlite-3.7.7.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: sqlite-3.7.7.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.7.7.1.ebuild,v 1.1 2011/07/01 21:44:42 hwoarang Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
|
54 |
inherit eutils flag-o-matic multilib versionator |
55 |
|
56 |
SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))" |
57 |
# DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))" |
58 |
DOC_PV="${SRC_PV}" |
59 |
|
60 |
DESCRIPTION="A SQL Database Engine in a C Library" |
61 |
HOMEPAGE="http://sqlite.org/" |
62 |
SRC_URI="doc? ( http://sqlite.org/${PN}-doc-${DOC_PV}.zip ) |
63 |
tcl? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip ) |
64 |
!tcl? ( |
65 |
test? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip ) |
66 |
!test? ( http://sqlite.org/${PN}-autoconf-${SRC_PV}.tar.gz ) |
67 |
)" |
68 |
|
69 |
LICENSE="as-is" |
70 |
SLOT="3" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
72 |
IUSE="debug doc +extensions +fts3 icu +readline secure-delete soundex tcl test +threadsafe unlock-notify" |
73 |
|
74 |
RDEPEND="icu? ( dev-libs/icu ) |
75 |
readline? ( sys-libs/readline ) |
76 |
tcl? ( dev-lang/tcl )" |
77 |
DEPEND="${RDEPEND} |
78 |
doc? ( app-arch/unzip ) |
79 |
tcl? ( app-arch/unzip ) |
80 |
test? ( |
81 |
app-arch/unzip |
82 |
dev-lang/tcl |
83 |
)" |
84 |
|
85 |
amalgamation() { |
86 |
use !tcl && use !test |
87 |
} |
88 |
|
89 |
pkg_setup() { |
90 |
if amalgamation; then |
91 |
S="${WORKDIR}/${PN}-autoconf-${SRC_PV}" |
92 |
else |
93 |
S="${WORKDIR}/${PN}-src-${SRC_PV}" |
94 |
fi |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
epunt_cxx |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
# `configure` from amalgamation tarball doesn't add -DSQLITE_DEBUG or -DNDEBUG flag. |
103 |
if amalgamation; then |
104 |
if use debug; then |
105 |
append-cppflags -DSQLITE_DEBUG |
106 |
else |
107 |
append-cppflags -DNDEBUG |
108 |
fi |
109 |
fi |
110 |
|
111 |
# Support column metadata, bug #266651 |
112 |
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA |
113 |
|
114 |
# Support R-trees, bug #257646 |
115 |
append-cppflags -DSQLITE_ENABLE_RTREE |
116 |
|
117 |
if use icu; then |
118 |
append-cppflags -DSQLITE_ENABLE_ICU |
119 |
if amalgamation; then |
120 |
sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
121 |
else |
122 |
sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed" |
123 |
fi |
124 |
fi |
125 |
|
126 |
# Support FTS3, bug #207701 |
127 |
if use fts3; then |
128 |
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS |
129 |
fi |
130 |
|
131 |
# Enable secure_delete pragma by default |
132 |
if use secure-delete; then |
133 |
append-cppflags -DSQLITE_SECURE_DELETE -DSQLITE_CHECK_PAGES -DSQLITE_CORE |
134 |
fi |
135 |
|
136 |
# Support soundex, bug #143794 |
137 |
if use soundex; then |
138 |
append-cppflags -DSQLITE_SOUNDEX |
139 |
fi |
140 |
|
141 |
# Enable unlock notification |
142 |
if use unlock-notify; then |
143 |
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY |
144 |
fi |
145 |
|
146 |
local extensions_option |
147 |
if amalgamation; then |
148 |
extensions_option="dynamic-extensions" |
149 |
else |
150 |
extensions_option="load-extension" |
151 |
fi |
152 |
|
153 |
# Starting from 3.6.23, SQLite has locking strategies that are specific to |
154 |
# OSX. By default they are enabled, and use semantics that only make sense |
155 |
# on OSX. However, they require gethostuuid() function for that, which is |
156 |
# only available on OSX starting from 10.6 (Snow Leopard). For earlier |
157 |
# versions of OSX we have to disable all this nifty locking options, as |
158 |
# suggested by upstream. |
159 |
if [[ "${CHOST}" == *-darwin[56789] ]]; then |
160 |
append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0" |
161 |
fi |
162 |
|
163 |
if [[ "${CHOST}" == *-mint* ]]; then |
164 |
append-cppflags -DSQLITE_OMIT_WAL |
165 |
fi |
166 |
|
167 |
# `configure` from amalgamation tarball doesn't support |
168 |
# --with-readline-inc and --(enable|disable)-tcl options. |
169 |
econf \ |
170 |
$(use_enable extensions ${extensions_option}) \ |
171 |
$(use_enable readline) \ |
172 |
$(use_enable threadsafe) \ |
173 |
$(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \ |
174 |
$(amalgamation || use_enable debug) \ |
175 |
$(amalgamation || echo --enable-tcl) |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" || die "emake failed" |
180 |
} |
181 |
|
182 |
src_test() { |
183 |
if [[ "${EUID}" -eq "0" ]]; then |
184 |
ewarn "Skipping tests due to root permissions" |
185 |
return |
186 |
fi |
187 |
|
188 |
local test="test" |
189 |
use debug && test="fulltest" |
190 |
emake ${test} || die "Test failed" |
191 |
} |
192 |
|
193 |
src_install() { |
194 |
emake DESTDIR="${D}" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install || die "emake install failed" |
195 |
doman sqlite3.1 || die "doman failed" |
196 |
|
197 |
if use doc; then |
198 |
dohtml -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"* || die "dohtml failed" |
199 |
fi |
200 |
} |