Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47272 - qhacc-2.9.9.ebuild (Update)
Summary: qhacc-2.9.9.ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 14:36 UTC by Joel B. Mohler
Modified: 2004-05-01 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for qhacc-2.9.9 (qhacc-2.9.9.ebuild,1.07 KB, text/plain)
2004-04-08 14:37 UTC, Joel B. Mohler
Details
updated ebuild (qhacc-2.9.9.ebuild,1.16 KB, text/plain)
2004-04-08 15:02 UTC, Joel B. Mohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel B. Mohler 2004-04-08 14:36:24 UTC
Hi,

I've attached a new ebuild for the latest version of qhacc.  I made only a small change from the 2.9.8 build.  This is the mirror://sourceforge url did not work for me in 2.9.8, but removing a "sourceforge/" fixed this.

Joel
Comment 1 Joel B. Mohler 2004-04-08 14:37:40 UTC
Created attachment 28911 [details]
ebuild for qhacc-2.9.9
Comment 2 Joel B. Mohler 2004-04-08 14:59:42 UTC
Comment on attachment 28911 [details]
ebuild for qhacc-2.9.9

# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-office/qhacc/qhacc-2.9.9.ebuild,v 1.1
2004/03/06 21:25:35 centic Exp $

inherit libtool

IUSE="mysql xml"

DESCRIPTION="Personal Finance for QT"
HOMEPAGE="http://qhacc.sourceforge.net"
SRC_URI="mirror://sourceforge/qhacc/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa"

DEPEND="mysql? ( dev-db/mysql++ )
	xml? ( dev-libs/libxml sys-libs/zlib )
	>=x11-libs/qt-3"

src_compile() {

	elibtoolize

	local myconf=""
	use mysql || myconf="${myconf} --disable-mysql"
	use mysql && myconf="${myconf} --enable-mysql"
	use xml || myconf="${myconf} --disable-xml"
	use xml && myconf="${myconf} --enable-xml"

	econf ${myconf} || die "configure failed"

	make || die "make failed"

}

src_install() {

	einstall || die "install failed"

	dodir /etc/qhacc
	cp -R ${S}/contrib/easysetup/* ${D}/etc/qhacc/
}

pkg_postinst() {
	einfo "Copy the files in /etc/qhacc to ~/.qhacc,
	You have to run this program with the command:
	qhacc -f ~/.qhacc/
	I prefer to put this in my .bashrc
	alias qhacc=\"qhacc -f ~/.qhacc\""
}
Comment 3 Joel B. Mohler 2004-04-08 15:02:28 UTC
Created attachment 28912 [details]
updated ebuild

This fixes a problem with the mysql support
Comment 4 Dominik Stadler (RETIRED) gentoo-dev 2004-05-01 14:21:46 UTC
This is now in Portage.