1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools-utils
9 DESCRIPTION="Compute rank-width decompositions of graphs"
10 AUTHORPAGE="http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/"
11 HOMEPAGE="${AUTHORPAGE}software/${PN}.shtml"
12 SRC_URI="${AUTHORPAGE}/software/${P}.tar.gz"
16 KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos"
17 IUSE="+executable static-libs"
19 DEPEND="executable? ( >=dev-libs/igraph-0.6 )"
22 DOCDIR="/usr/share/doc/${PF}"
24 AUTOTOOLS_IN_SOURCE_BUILD=1
28 $(use_enable executable)
29 --docdir="${EPREFIX}${DOCDIR}"
32 autotools-utils_src_configure
36 # The examples graphs are meant to be fed uncompressed into the 'rw'
37 # program. The rest of the docs are small so just leave everything
39 docompress -x "${DOCDIR}"
40 autotools-utils_src_install