aboutsummaryrefslogtreecommitdiff
blob: 2f14bb0a0e0c99508cf41826b897e03cde4a6e70 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

inherit eutils versionator

MY_PV=$(replace_all_version_separators '-')

DESCRIPTION="libfac is an extension of Singular-factory to finite fields"
HOMEPAGE="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/"
SRC_URI="ftp://www.mathematik.uni-kl.de/pub/Math/Singular/Libfac/${PN}-${MY_PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="singular"

DEPEND=">=sci-libs/factory-${PV}[singular=]"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN}"

src_configure() {
	econf $(use_with singular Singular)
}