# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Quasar is a full function, stand-along business accountaing package" HOMEPAGE="http://www.linuxcanada.com/quasar.shtml" SRC_URI="ftp://ftp.linuxcanada.com/pub/Quasar/${PV}/source/${P}_GPL.tgz" LICENSE="GPL-1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=dev-lang/tcl-8.3 >=dev-lang/tk-8.3 >=x11-libs/qt-3.0" RDEPEND="${DEPEND} >=dev-db/postgresql-7.4" # Source directory; the dir where the sources can be found (automatically # unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P} # If you don't need to change it, leave the S= line out of the ebuild # to keep it tidy. S="${WORKDIR}/${P}_GPL" src_compile() { epatch "${FILESDIR}/quasar.gcc-3.4.x.patch" use amd64 && epatch "${FILESDIR}/quasar.amd64.patch" econf || die "econf failed" emake || die "emake failed" } src_install() { make PREFIX=${D} install || die }