summaryrefslogtreecommitdiff
blob: ebe512a1aff312411bc0cdde32d1866f23352715 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/khacc/khacc-1.7.9.ebuild,v 1.3 2004/06/24 22:41:27 agriffis Exp $

inherit kde
need-kde 3

newdepend "=app-office/qhacc-2.9.9"

DESCRIPTION="KDE personal accounting system based on QHacc."
HOMEPAGE="http://qhacc.sourceforge.net"
SRC_URI="mirror://sourceforge/qhacc/${P}.tar.gz"

KEYWORDS="~x86 ~sparc ~ppc"
LICENSE="GPL-2"

IUSE=""
SLOT="0"

src_compile() {
	myconf="$myconf --with-qhacc-includes=/usr/include --with-qhacc-libs=/usr/lib --with-qhacc-config=/usr/bin"
	kde_src_compile
}

pkg_postinst() {
	einfo "Copy the files in /etc/qhacc to ~/.qhacc,
	You have to run this program with the command:
	khacc -f ~/.qhacc/
	I prefer to put this in my .bashrc
	alias khacc=\"khacc -f ~/.qhacc\""
}