blob: 7160f25e850d132a86a35b3ef92411be7b6f9956 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit qt4-r2 multilib
DESCRIPTION="Homebrewer's recipe calculator"
HOMEPAGE="http://www.usermode.org/code.html"
SRC_URI="http://www.usermode.org/code/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/qt-gui:4"
RDEPEND="${DEPEND}"
src_configure() {
export BINDIR="/usr/bin" DATADIR="/usr/share/${PN}" DOCDIR="/usr/share/doc/${P}"
./configure --qtdir="/usr/$(get_libdir)/qt4" || die "configure failed"
echo "QT += xml" >> qbrew.pro
eqmake4
}
src_install() {
dobin qbrew || die "bin install failed"
insinto /usr/share/${PN}
doins data/* pics/splash.png || die "install failed"
dohtml -r docs/* || die "documentation install failed"
dodoc AUTHORS ChangeLog README TODO || die "documentation install failed"
}
|