diff options
Diffstat (limited to 'dev-db/sqlite/sqlite-3.6.17.ebuild')
-rw-r--r-- | dev-db/sqlite/sqlite-3.6.17.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-db/sqlite/sqlite-3.6.17.ebuild b/dev-db/sqlite/sqlite-3.6.17.ebuild index b2d9deed3037..cce764472912 100644 --- a/dev-db/sqlite/sqlite-3.6.17.ebuild +++ b/dev-db/sqlite/sqlite-3.6.17.ebuild @@ -1,6 +1,6 @@ # 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.17.ebuild,v 1.2 2009/08/12 17:03:43 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.17.ebuild,v 1.3 2009/08/20 02:47:09 arfrever Exp $ EAPI="2" @@ -11,7 +11,8 @@ 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 )" + doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip ) + !tcl? ( mirror://gentoo/sqlite3.h-${PV}.bz2 )" LICENSE="as-is" SLOT="3" @@ -48,6 +49,7 @@ src_configure() { } src_compile() { + use tcl || cp "${WORKDIR}/sqlite3.h-${PV}" sqlite3.h emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed" } |