blob: b0ee3b1c036aacb55dc6eafe0edd929a631bbcca (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit autotools-utils versionator
MY_PV=$(replace_all_version_separators '-')
DESCRIPTION="C++ library for representing multivariate polynomials"
HOMEPAGE="http://www.mathematik.uni-kl.de/pub/Math/Singular/Factory"
SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Factory/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="singular"
RESTRICT="mirror"
DEPEND="dev-libs/gmp
>=dev-libs/ntl-5.4.1"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
AUTOTOOLS_IN_SOURCE_BUILD="1"
DOCS=( README NEWS )
PATCHES=( "${FILESDIR}"/${P}-gentoo.diff )
pkg_setup() {
tc-export CC CPP CXX
}
src_configure() {
myeconfargs=( $(use_with singular Singular) )
autotools-utils_src_configure
}
# TODO: get rid of factories static libs ?
|