1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
9 DESCRIPTION="Another C++ wrapper for the SQLite C API"
10 HOMEPAGE="http://www.alhem.net/project/sqlite/index.html"
11 SRC_URI="http://www.alhem.net/project/sqlite/${P}.tar.gz"
16 DEPEND=">=dev-db/sqlite-3"
24 -e 's/\(CPPFLAGS\) =/\1+=/' \
25 -e 's/-Wall -g -O2/-fPIC/' \
26 -e 's#/usr/devel#/usr#' \
27 Makefile || die "sed failed"
31 emake CXX="$(tc-getCXX)" || die "emake failed"
35 dolib libsqlitewrapped.a
37 doins libsqlitewrapped.h