blob: 1dd53154fa5cf974a66529f9b4a2a92b76c80590 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.8.1.ebuild,v 1.1 2010/01/04 13:31:29 fauli Exp $
EAPI=2
inherit eutils
DESCRIPTION="A Query Object Framework"
HOMEPAGE="http://qof.alioth.debian.org/"
SRC_URI="https://alioth.debian.org/frs/download.php/3059/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc nls"
RDEPEND="gnome-extra/libgda:3
dev-libs/libxml2
>=dev-db/sqlite-2.8.0:0"
DEPEND="${DEPEND}
dev-util/pkgconfig
!dev-libs/qof:0
doc? ( app-doc/doxygen
dev-texlive/texlive-latex )"
src_prepare() {
# Upstream not willing to remove those stupid flags...
epatch "${FILESDIR}/${PN}-0.8.0-remove_spurious_CFLAGS.patch"
}
src_configure() {
econf $(use_enable doc html-docs) --disable-error-on-warning \
$(use_enable nls) --enable-sqlite $(use_enable doc doxygen) \
$(use_enable doc latex-docs) --enable-gdabackend --enable-gdasql \
--disable-deprecated-glib --disable-dot \
|| die
}
src_compile() {
emake -j1 || die
}
src_install() {
emake -j1 DESTDIR="${D}" install || die
}
|