blob: 11709bc09e509e3b030223724660f40c0482f9c3 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.1.1.ebuild,v 1.20 2003/09/09 08:42:52 msterret Exp $
inherit kde-base
need-kde 2.2.2
DESCRIPTION="KDE ${PV} - KOffice"
HOMEPAGE="http://www.koffice.org/"
# turns out kde.org.eclass doesn't work here
SRC_PATH="kde/stable/${P}/src/${P}.tar.bz2"
SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
ftp://ftp.fh-heilbronn.de/pub/mirrors/$SRC_PATH
ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="x86 ppc"
DEPEND="$DEPEND
>=dev-lang/python-2.0-r5"
# >=sys-devel/automake-1.4
# >=sys-devel/autoconf-1.13"
src_unpack() {
kde_src_unpack all patch
}
src_compile() {
myconf="${myconf} --enable-all"
myconf="${myconf} --with-extra-libs=/usr/lib/python2.2/config"
kde_src_compile myconf configure
export LIBPYTHON="`python-config --libs`"
# the dir kchar/kdchart cannot be compiled with the
# -fomit-frame-pointer flag present
kde_remove_flag kchart/kdchart -fomit-frame-pointer
kde_src_compile make
}
|