1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit qt4-r2 multilib
8 DESCRIPTION="Homebrewer's recipe calculator"
9 HOMEPAGE="http://www.usermode.org/code.html"
10 SRC_URI="http://www.usermode.org/code/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
17 DEPEND="dev-qt/qtgui:4"
21 export BINDIR="/usr/bin" DATADIR="/usr/share/${PN}" DOCDIR="/usr/share/doc/${P}"
22 ./configure --qtdir="/usr/$(get_libdir)/qt4" || die "configure failed"
23 echo "QT += xml" >> qbrew.pro
28 dobin qbrew || die "bin install failed"
29 insinto /usr/share/${PN}
30 doins data/* pics/splash.png || die "install failed"
31 dohtml -r docs/* || die "documentation install failed"
32 dodoc AUTHORS ChangeLog README TODO || die "documentation install failed"