1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils toolchain-funcs
9 DESCRIPTION="SQL C++ code generator (to use with dev-db/*wrapped packages)"
10 HOMEPAGE="http://www.alhem.net/project/sql2class/index.html"
11 SRC_URI="http://www.alhem.net/project/sql2class/${P}.tar.gz"
24 -e 's/\(CPPFLAGS\) =/\1+=/' \
25 -e 's/-Wall -O2 -g//' \
26 -e 's#/usr/devel#/usr#' \
28 Makefile || die "sed failed"
32 emake CXX="$(tc-getCXX)" || die "emake failed"
41 elog "You might want to emerge one of the following packages as well:"
42 elog "-> dev-db/mysqlwrapped ... to use the generated code with a MySQL-DB"
43 elog "-> dev-db/sqlitewrapped ... to use the generated code with SQLite"