X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=blobdiff_plain;f=sci-mathematics%2Frw%2Frw-0.7.ebuild;h=59cf2d613ad3b373272c8d445f781c8924b0e7f8;hp=37d615e2133c750e37d11c7fb82b4266e526a435;hb=8f71cf8a063265f5e35d00bb0a026dd581c49c6a;hpb=094c45d207bb5ce55e563ce9d6619e689ba555cb diff --git a/sci-mathematics/rw/rw-0.7.ebuild b/sci-mathematics/rw/rw-0.7.ebuild index 37d615e..59cf2d6 100644 --- a/sci-mathematics/rw/rw-0.7.ebuild +++ b/sci-mathematics/rw/rw-0.7.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit autotools-utils + DESCRIPTION="Compute rank-width decompositions of graphs" AUTHORPAGE="http://pholia.tdi.informatik.uni-frankfurt.de/~philipp/" HOMEPAGE="${AUTHORPAGE}software/${PN}.shtml" @@ -11,17 +13,23 @@ SRC_URI="${AUTHORPAGE}/software/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64" -IUSE="+executable" +KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-macos" +IUSE="+executable static-libs" DEPEND="executable? ( >=dev-libs/igraph-0.6 )" RDEPEND="${DEPEND}" DOCDIR="/usr/share/doc/${PF}" +AUTOTOOLS_IN_SOURCE_BUILD=1 + src_configure(){ - econf $(use_enable executable) \ - --docdir="${EPREFIX}${DOCDIR}" + local myeconfargs=( + $(use_enable executable) + --docdir="${EPREFIX}${DOCDIR}" + ) + + autotools-utils_src_configure } src_install(){ @@ -29,5 +37,5 @@ src_install(){ # program. The rest of the docs are small so just leave everything # uncompressed. docompress -x "${DOCDIR}" - default + autotools-utils_src_install }