summaryrefslogtreecommitdiff
blob: 3eeb25a46ecc824253e989086a93839a792ce224 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MY_PN="edge-addition-planarity-suite-Version"
DESCRIPTION="The edge addition planarity suite of graph algorithms"
HOMEPAGE="https://github.com/graph-algorithms/edge-addition-planarity-suite/"

# Use the tarball from sage because the github release doesn't
# contain the generated autotools files (like ./configure).
SRC_URI="http://files.sagemath.org/spkg/upstream/${PN}/${P}.tar.gz"
IUSE="examples static-libs"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"

S="${WORKDIR}/${MY_PN}_${PV}"

src_configure() {
	econf $(use_enable static-libs static)
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
	use examples && dodoc -r c/samples
}