Lines 2-28
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/libqalculate-0.9.2.ebuild,v 1.2 2006/01/29 19:43:34 cryos Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/libqalculate-0.9.2.ebuild,v 1.2 2006/01/29 19:43:34 cryos Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit autotools eutils |
6 |
|
5 |
DESCRIPTION="A modern multi-purpose calculator library" |
7 |
DESCRIPTION="A modern multi-purpose calculator library" |
6 |
LICENSE="GPL-2" |
8 |
LICENSE="GPL-2" |
7 |
HOMEPAGE="http://qalculate.sourceforge.net/" |
9 |
HOMEPAGE="http://qalculate.sourceforge.net/" |
8 |
SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz" |
10 |
SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz" |
9 |
|
11 |
|
10 |
SLOT="0" |
12 |
SLOT="0" |
11 |
IUSE="nls readline" |
13 |
IUSE="readline" |
12 |
KEYWORDS="~amd64 ~sparc ~x86" |
14 |
KEYWORDS="~amd64 ~sparc ~x86" |
13 |
|
15 |
|
14 |
DEPEND="dev-lang/perl |
16 |
COMMON_DEPEND=">=sci-libs/cln-1.1 |
15 |
dev-perl/XML-Parser |
|
|
16 |
>=dev-util/pkgconfig-0.12.0" |
17 |
|
18 |
RDEPEND=">=sci-libs/cln-1.1 |
19 |
dev-libs/libxml2 |
17 |
dev-libs/libxml2 |
20 |
>=dev-libs/glib-2.4 |
18 |
>=dev-libs/glib-2.4 |
21 |
>=sci-visualization/gnuplot-3.7 |
19 |
sys-libs/zlib |
22 |
net-misc/wget |
|
|
23 |
nls? ( sys-devel/gettext ) |
24 |
readline? ( sys-libs/readline )" |
20 |
readline? ( sys-libs/readline )" |
25 |
|
21 |
|
|
|
22 |
DEPEND="${COMMON_DEPEND} |
23 |
>=dev-util/pkgconfig-0.12.0 |
24 |
dev-util/intltool |
25 |
sys-devel/gettext" |
26 |
|
27 |
RDEPEND="${COMMON_DEPEND} |
28 |
>=sci-visualization/gnuplot-3.7 |
29 |
net-misc/wget" |
30 |
|
31 |
src_unpack() { |
32 |
unpack ${A} |
33 |
cd "${S}" |
34 |
epatch "${FILESDIR}/${P}-asneeded.patch" |
35 |
# Running automake only, because it's enough, and a full eautoreconf needs |
36 |
# some macros from sci-libs/cln, which are only installed in its doc dir. |
37 |
eautomake |
38 |
} |
39 |
|
26 |
src_compile() { |
40 |
src_compile() { |
27 |
# The CLN test is buggy and will often fail though an appropriate version |
41 |
# The CLN test is buggy and will often fail though an appropriate version |
28 |
# of the library is installed. |
42 |
# of the library is installed. |