1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils wxwidgets
8 DESCRIPTION="a C++ wrapper around the public domain SQLite 3.x database"
9 HOMEPAGE="http://wxcode.sourceforge.net/components/wxsqlite3/"
10 SRC_URI="mirror://sourceforge/wxcode/wxsqlite3-${PV}.tar.gz"
17 DEPEND="=x11-libs/wxGTK-2.6*
21 S="${WORKDIR}/wxsqlite3"
26 epatch "${FILESDIR}/${P}-makefile_in.patch"
30 use unicode && need-wxwidgets unicode
33 $(use_enable unicode) \
35 --with-wx-config="${WX_CONFIG}" \
38 --with-sqlite3-prefix=/usr
40 emake || die "emake failed"
44 emake DESTDIR="${D}" install || die "emake install failed"