diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-04-14 02:30:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-04-14 02:30:13 +0000 |
commit | 252eb147b66961e63a5cb540004cd34f28dee891 (patch) | |
tree | c5a2b99794a4da4c65900d97f3858312b671c675 /dev-db | |
parent | Version bump (diff) | |
download | gentoo-2-252eb147b66961e63a5cb540004cd34f28dee891.tar.gz gentoo-2-252eb147b66961e63a5cb540004cd34f28dee891.tar.bz2 gentoo-2-252eb147b66961e63a5cb540004cd34f28dee891.zip |
Version bump.
(Portage version: 13343-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/sqlite/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/sqlite/metadata.xml | 4 | ||||
-rw-r--r-- | dev-db/sqlite/sqlite-3.6.13.ebuild | 88 |
3 files changed, 99 insertions, 1 deletions
diff --git a/dev-db/sqlite/ChangeLog b/dev-db/sqlite/ChangeLog index c992a406339c..bed6d836f111 100644 --- a/dev-db/sqlite/ChangeLog +++ b/dev-db/sqlite/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/sqlite # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.231 2009/04/07 18:46:54 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/ChangeLog,v 1.232 2009/04/14 02:30:13 arfrever Exp $ + +*sqlite-3.6.13 (14 Apr 2009) + + 14 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + metadata.xml, +sqlite-3.6.13.ebuild: + Version bump. 07 Apr 2009; Tobias Klausmann <klausman@gentoo.org> sqlite-3.6.11.ebuild: Stable on alpha, bug #264514 diff --git a/dev-db/sqlite/metadata.xml b/dev-db/sqlite/metadata.xml index a95110fafa96..e875712c42d5 100644 --- a/dev-db/sqlite/metadata.xml +++ b/dev-db/sqlite/metadata.xml @@ -3,6 +3,10 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> + <email>arfrever@gentoo.org</email> + <name>Arfrever Frehtes Taifersar Arahesis</name> +</maintainer> +<maintainer> <email>betelgeuse@gentoo.org</email> <description>Take if you want it</description> </maintainer> diff --git a/dev-db/sqlite/sqlite-3.6.13.ebuild b/dev-db/sqlite/sqlite-3.6.13.ebuild new file mode 100644 index 000000000000..02e0bf929d48 --- /dev/null +++ b/dev-db/sqlite/sqlite-3.6.13.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.13.ebuild,v 1.1 2009/04/14 02:30:13 arfrever Exp $ + +EAPI="1" + +inherit eutils flag-o-matic multilib versionator + +DESCRIPTION="an SQL Database Engine in a C Library" +HOMEPAGE="http://www.sqlite.org/" +DOC_BASE="$(get_version_component_range 1-3)" +DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})" +SRC_URI="http://www.sqlite.org/${P}.tar.gz + doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )" + +LICENSE="as-is" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="debug doc soundex tcl +threadsafe" +RESTRICT="!tcl? ( test )" + +RDEPEND="tcl? ( dev-lang/tcl )" +DEPEND="${RDEPEND} + doc? ( app-arch/unzip )" + +pkg_setup() { + if has test ${FEATURES} ; then + if ! has userpriv ${FEATURES} ; then + ewarn "The userpriv feature must be enabled to run tests." + eerror "Testsuite will not be run." + fi + if ! use tcl ; then + ewarn "You must enable the tcl use flag if you want to run the testsuite." + eerror "Testsuite will not be run." + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # note: this sandbox fix is no longer needed with sandbox-1.3+ + epatch "${FILESDIR}"/sandbox-fix2.patch + + epunt_cxx +} + +src_compile() { + # not available via configure and requested in bug #143794 + use soundex && append-cppflags -DSQLITE_SOUNDEX=1 + + econf \ + $(use_enable debug) \ + $(use_enable threadsafe) \ + $(use_enable threadsafe cross-thread-connections) \ + $(use_enable tcl) + emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed" +} + +src_test() { + if has userpriv ${FEATURES} ; then + local test=test + use debug && test=fulltest + emake ${test} || die "some test(s) failed" + fi +} + +src_install() { + emake \ + DESTDIR="${D}" \ + TCLLIBDIR="/usr/$(get_libdir)/${P}" \ + install \ + || die "emake install failed" + + doman sqlite3.1 || die + + if use doc ; then + # Naming scheme changes randomly between - and _ in releases + # http://www.sqlite.org/cvstrac/tktview?tn=3523 + dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die + fi +} + +pkg_postinst() { + elog "sqlite-3.6.X is not totally backwards compatible, see" + elog "http://www.sqlite.org/releaselog/3_6_0.html for full details." +} |