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