summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-18 18:45:26 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-18 18:45:26 +0000
commitf718c106fe8d153d7d8f5e5efbe99f60f3214b97 (patch)
treefaaf5d19f05ca1a0c9a3ca4c466a147ec1e1c2ba /dev-db/sqlite
parentStable for HPPA (bug #363895). (diff)
downloadhistorical-f718c106fe8d153d7d8f5e5efbe99f60f3214b97.tar.gz
historical-f718c106fe8d153d7d8f5e5efbe99f60f3214b97.tar.bz2
historical-f718c106fe8d153d7d8f5e5efbe99f60f3214b97.zip
Version bump.
Package-Manager: portage-2.2.0_alpha30/cvs/Linux x86_64
Diffstat (limited to 'dev-db/sqlite')
-rw-r--r--dev-db/sqlite/ChangeLog8
-rw-r--r--dev-db/sqlite/Manifest31
-rw-r--r--dev-db/sqlite/sqlite-3.7.6.2.ebuild160
3 files changed, 184 insertions, 15 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog
index b9a754a9619b..0e83596ed0b8 100644
--- a/dev-db/sqlite/ChangeLog
+++ b/dev-db/sqlite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-db/sqlite
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.369 2011/04/12 16:46:08 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.370 2011/04/18 18:45:26 arfrever Exp $
+
+*sqlite-3.7.6.2 (18 Apr 2011)
+
+ 18 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +sqlite-3.7.6.2.ebuild:
+ Version bump.
*sqlite-3.7.6 (12 Apr 2011)
diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
index dd7cf25bf397..9f1575e7a073 100644
--- a/dev-db/sqlite/Manifest
+++ b/dev-db/sqlite/Manifest
@@ -11,29 +11,32 @@ AUX sqlite-3.7.5-utimes.patch 830 RMD160 168a123fedcd50db1141ae32f6bb647349f9e65
DIST sqlite-2.8.16.tar.gz 981834 RMD160 df60e84f16ccd8b6b8e86dabfe6bf40f6a3dc136 SHA1 7bef329f78628de252c289bda7cea6f86adcc42e SHA256 d26e8a6fac1ad497a3ade719da4f1d6d60f586fd10f66253f1c3d3db7168984e
DIST sqlite-autoconf-3070500.tar.gz 1551070 RMD160 8bec6a7bfec1c8786dde0586916b0b99e509b2ce SHA1 4e1338497b8da50b84307191bb3418e9ec5715d7 SHA256 cb5b86926ec9f65882b2dddd244f2d620337d911ec73411863f77e48cf6a2f94
DIST sqlite-autoconf-3070600.tar.gz 1721938 RMD160 81a5f55326c932f8bb9709a305621d54f181cfa7 SHA1 6b17cf7610437706fec6e21f29933c1ffd3a13e0 SHA256 c56417140f32f495827c90565a25c1b1068d1117ae368ea6ab58c01875d78771
+DIST sqlite-autoconf-3070602.tar.gz 1720179 RMD160 dc6998976f3d0e3e8f7b0568966d8ff0cb82c899 SHA1 3582b0b809dc0c3fa10ddaa403c219a4ebd8abb5 SHA256 53aa66f30d8ff87230d4173b7979814432b8084da77fba05992223f76593fc81
DIST sqlite-doc-3070500.zip 3491310 RMD160 2e84f51d7f755af65fd502d64a44e3f7d0ffbd3a SHA1 d103de0bc344dde0153d170af74d56db0437d770 SHA256 812b6846d7a397546936ee8a5662a30bdd1b3b2792571f3f0211a2008cbb71de
DIST sqlite-doc-3070600.zip 3194145 RMD160 991d59973e9731acec51ee518f60bce45a38a178 SHA1 d203d110f637bd5578f278d9b9ac8675a0631e4a SHA256 2810ed15662904a3eff92914c1298a15221112487a60dd2cb9c76eaf0c1afb02
DIST sqlite-src-3070500.zip 3987471 RMD160 4d5f2091700e9c183e861613203a1ddb66217c0f SHA1 9706110d635c347e16ddb8cea1b4923385fecfac SHA256 1bb838c02b4946c514e28cfcd1c15b0079f8626f5fbcfcf2b48e2a075acc5c51
DIST sqlite-src-3070600.zip 4469235 RMD160 d20daa4fe3569ffacfac7364cf163d4409f12c18 SHA1 238247cab076b4df4876970a3e8d1c5b23150062 SHA256 b9f83bf79e997ad649735a0559fbedaf3dbc7312b732e6e67b22d670ac569be6
+DIST sqlite-src-3070602.zip 4469329 RMD160 67d69763c059a9797225261916996503a43357fd SHA1 dfe00d3fd1b346d7ae53acc54a761dcb0d5587eb SHA256 55ec0c95d0eab2de95714c846344f00d0fbc0405dc0d05ab2c80028790996f78
EBUILD sqlite-2.8.16-r4.ebuild 2693 RMD160 f0d7c0c813b135e75e32bc5489080d6d32492d17 SHA1 3d8b88705e097b77f4d05104ff47b942afe758d2 SHA256 c691b6a7628a48f1c446fe016970cc0cbde0dd0e0d019d28603b5f54b860c364
EBUILD sqlite-3.7.5.ebuild 4532 RMD160 18abfd839a28f35c5450dded81bd37b1fff09a65 SHA1 d69414b3fe5f8f07ff6debc51de93ad992eaae87 SHA256 a5c829a4f94720a3ccf7de209648b4b7a38303ad8bbe6fd46b39786de29e3486
+EBUILD sqlite-3.7.6.2.ebuild 4607 RMD160 56c04883de1de0745dd52427a6c2dd4de02f7098 SHA1 f6119998a61d78747fdd9fe2bccdb9b37e6adf2e SHA256 2db1cbd014601f9e97641494a596441f0844a2215e8b9017705a566de7c53294
EBUILD sqlite-3.7.6.ebuild 4502 RMD160 c6ea1fd15a58d48778220f0cbab730b7e095de10 SHA1 f772db0f3ced29d2552aaea77a679718847e59fb SHA256 47d0f3b535c95e50b61e2e7a7fe5645f451af84565265556c9a07152c0061bb7
-MISC ChangeLog 50986 RMD160 1dad146023384f82f932e68d3fdfbe38bec170e7 SHA1 949c8f4d5008a458050d2ad2613ca9087a8a565e SHA256 60ad58a339b33c29a31845b0cc455e22745277049ddca15c2eb2731283fcaead
+MISC ChangeLog 51133 RMD160 eeedb25cb71d9232e4624f5eafa530372c7b0c0d SHA1 8fc152064021ca7f1039d2d235a2ae127bf32095 SHA256 f4df93fb4e7c091170d3b562aaf7e5bd21ad24781bb8b60e136c9991f0db305d
MISC metadata.xml 1011 RMD160 02768455c7a2f2e980fcd51e16105d1a030a69cf SHA1 98ba789e4120f8d0a1e2f49285f6dbf49e0a35d0 SHA256 4b2dc7fa04d3909cac1f4b764daaddb237e5c4f9a05998d7fd04dc42a5775aae
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJNpIHlAAoJENgZr6v6gHY04BMP/jQWpDxgTlr10SRtud5j1PMi
-HB6Z2tFYZq/yANNrUioQ83u56++AmWJU0LCezF3qNtz7BD3y30FmBtj+AmsVyn3a
-qMG7P7ccJOQX7+Q6Y6DKuzm11qIM0vXnOhJxujI9taJ4ai1t3QJWqDnkYJQ309DW
-2iGqPUb639oBKHMjL3N/sF58ukBh7e+dvicujaOLuWeZSDn4cBJc21nB6/7R47+u
-kBl+takI2ekCyjONoRvs17au27XicIbRmvyrc+jyFxKn5lLv/abmj8UKubqD1KHn
-DUU42n7d4pt06sbPNm+g1XxZZdZZWmFF47WN1YNaW1YTF/N31yTtXxs9uEMPLU2I
-r1ntv43HoD6IME4VN98wHZUMKx8tRPsjiok/wWMbEPUycgC0ALCmB55xB1uIEqun
-a8NNie9UJfsG7JVlwOPjKBM1QsdXv3VE9aPooH7+IGxF0x3wkpTjQV5GsON4llHH
-HXuh9us/ZNPsIWfECtC3VVfWRZVa7n9UYkdtbm4XusgNbG789P1n9JorsUlgsbpg
-7u9+icvk7ExX34Dv5hDNhDk4zBXp+SV13m+6dwmmCMZBorSy+e9MzY+PMquRUyql
-Zh9le9OVkapEhXLeuXtoODGDBiHRBHA6zYsBRog6z8QLVWRDCO6Ipey+PGFy6TUG
-s4j7J+aCHZ/sK4ilX7sg
-=OtIA
+iQIcBAEBAgAGBQJNrIbQAAoJENgZr6v6gHY05KMQANPUCqxWkHuj62AnNV9cYX5W
+w5Fx3Qt8WiCWoONGn/l70pttATBaVKOkq7suED/nhsoWClfoJt2zAnT9eRs11PtX
+RgnVuhl4jJ8lkg9oXTF+8zxhF++Wr9910eg6A0WF/TMUnd+Z4AS6oG50kZuM5ZzX
+MdEEdEOMulUA536UMYiOm/YfbawPdnaGCNrYeTAeWXScWdDMSkx1c3xTrAtXEdoZ
+Nmo6zGe1DNB3TW045j7CqIoVT5A8NHf/2l6KMMq7t6f3SQZuGoKOeWkwQ6CIf6FZ
+Cxvwv6J56Xu8/h1B4WGIU+r5JLO6s7zTFWqHbxfLMYIyUnROkvQ2PN/C/APQP+Ly
+pzjckYMKm68hudndP9OrnJnQphRqwbkvTzkNIQEg5QN4g2ONRE9XToYq2dKfI0GT
+fz6MyL0G1IdAuBJNDbODzgHW97JWeg6FM+Q3xaKRqjAal3wXuoXFT/91tilKczri
+jb5j6NDFJnwzgiNmH/Jk6TU3XpbYyzrpoIm6scqn9VA3zkwXym9QEwMLvELNIiEV
+vpztdxtODMPjBpeEwZqX4isdCLNQTriqVz0gGZdCDjKuRSyx8cpW4lI3QwPC1qOi
+Ti/XryYNJROgCRMwA8aypQ/Bnx3CEXc7/+/8f8l4XchVEYlIaJExusWvs0UcZ0Oc
+s2z14svhnez/bRd1KxX1
+=L59h
-----END PGP SIGNATURE-----
diff --git a/dev-db/sqlite/sqlite-3.7.6.2.ebuild b/dev-db/sqlite/sqlite-3.7.6.2.ebuild
new file mode 100644
index 000000000000..ef48bc51b5d1
--- /dev/null
+++ b/dev-db/sqlite/sqlite-3.7.6.2.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.7.6.2.ebuild,v 1.1 2011/04/18 18:45:26 arfrever Exp $
+
+EAPI="3"
+
+inherit autotools eutils flag-o-matic multilib versionator
+
+SRC_PV="$(printf "%u%02u%02u%02u" $(get_version_components))"
+DOC_PV="$(printf "%u%02u%02u00" $(get_version_components $(get_version_component_range 1-3)))"
+
+DESCRIPTION="A SQL Database Engine in a C Library"
+HOMEPAGE="http://sqlite.org/"
+SRC_URI="doc? ( http://sqlite.org/${PN}-doc-${DOC_PV}.zip )
+ tcl? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip )
+ !tcl? (
+ test? ( http://sqlite.org/${PN}-src-${SRC_PV}.zip )
+ !test? ( http://sqlite.org/${PN}-autoconf-${SRC_PV}.tar.gz )
+ )"
+
+LICENSE="as-is"
+SLOT="3"
+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"
+IUSE="debug doc +extensions +fts3 icu +readline secure-delete soundex tcl test +threadsafe unlock-notify"
+
+RDEPEND="icu? ( dev-libs/icu )
+ readline? ( sys-libs/readline )
+ tcl? ( dev-lang/tcl )"
+DEPEND="${RDEPEND}
+ doc? ( app-arch/unzip )
+ tcl? ( app-arch/unzip )
+ test? (
+ app-arch/unzip
+ dev-lang/tcl
+ )"
+
+amalgamation() {
+ use !tcl && use !test
+}
+
+pkg_setup() {
+ if amalgamation; then
+ S="${WORKDIR}/${PN}-autoconf-${SRC_PV}"
+ else
+ S="${WORKDIR}/${PN}-src-${SRC_PV}"
+ fi
+}
+
+src_prepare() {
+ if amalgamation; then
+ epatch "${FILESDIR}/${PN}-3.6.22-interix-fixes-amalgamation.patch"
+ else
+ epatch "${FILESDIR}/${PN}-3.7.5-utimes.patch"
+ epatch "${FILESDIR}/${PN}-3.6.22-dlopen.patch"
+ fi
+
+ eautoreconf
+ epunt_cxx
+}
+
+src_configure() {
+ # `configure` from amalgamation tarball doesn't add -DSQLITE_DEBUG or -DNDEBUG flag.
+ if amalgamation; then
+ if use debug; then
+ append-cppflags -DSQLITE_DEBUG
+ else
+ append-cppflags -DNDEBUG
+ fi
+ fi
+
+ # Support column metadata, bug #266651
+ append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
+
+ # Support R-trees, bug #257646
+ append-cppflags -DSQLITE_ENABLE_RTREE
+
+ if use icu; then
+ append-cppflags -DSQLITE_ENABLE_ICU
+ if amalgamation; then
+ sed -e "s/LIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
+ else
+ sed -e "s/TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
+ fi
+ fi
+
+ # Support FTS3, bug #207701
+ if use fts3; then
+ append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS
+ fi
+
+ # Enable secure_delete pragma by default
+ if use secure-delete; then
+ append-cppflags -DSQLITE_SECURE_DELETE -DSQLITE_CHECK_PAGES -DSQLITE_CORE
+ fi
+
+ # Support soundex, bug #143794
+ if use soundex; then
+ append-cppflags -DSQLITE_SOUNDEX
+ fi
+
+ # Enable unlock notification
+ if use unlock-notify; then
+ append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
+ fi
+
+ local extensions_option
+ if amalgamation; then
+ extensions_option="dynamic-extensions"
+ else
+ extensions_option="load-extension"
+ fi
+
+ # Starting from 3.6.23, SQLite has locking strategies that are specific to
+ # OSX. By default they are enabled, and use semantics that only make sense
+ # on OSX. However, they require gethostuuid() function for that, which is
+ # only available on OSX starting from 10.6 (Snow Leopard). For earlier
+ # versions of OSX we have to disable all this nifty locking options, as
+ # suggested by upstream.
+ if [[ "${CHOST}" == *-darwin[56789] ]]; then
+ append-cppflags -DSQLITE_ENABLE_LOCKING_STYLE="0"
+ fi
+
+ if [[ "${CHOST}" == *-mint* ]]; then
+ append-cppflags -DSQLITE_OMIT_WAL
+ fi
+
+ # `configure` from amalgamation tarball doesn't support
+ # --with-readline-inc and --(enable|disable)-tcl options.
+ econf \
+ $(use_enable extensions ${extensions_option}) \
+ $(use_enable readline) \
+ $(use_enable threadsafe) \
+ $(amalgamation || echo --with-readline-inc="-I${EPREFIX}/usr/include/readline") \
+ $(amalgamation || use_enable debug) \
+ $(amalgamation || echo --enable-tcl)
+}
+
+src_compile() {
+ emake TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" || die "emake failed"
+}
+
+src_test() {
+ if [[ "${EUID}" -eq "0" ]]; then
+ ewarn "Skipping tests due to root permissions"
+ return
+ fi
+
+ local test="test"
+ use debug && test="fulltest"
+ emake ${test} || die "Test failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install || die "emake install failed"
+ doman sqlite3.1 || die "doman failed"
+
+ if use doc; then
+ dohtml -r "${WORKDIR}/${PN}-doc-${DOC_PV}/"* || die "dohtml failed"
+ fi
+}