X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mjo-overlay.git;a=blobdiff_plain;f=sci-mathematics%2Frw%2Frw-0.7.ebuild;h=37d615e2133c750e37d11c7fb82b4266e526a435;hp=91d52f474f3d7e43bb3fd35e9683ed4e07922cc9;hb=c30d7d0b26c5367af015441a6acc77534265c4ec;hpb=387c3f829fa6e95526bce5a585ce3cf5573a4b18 diff --git a/sci-mathematics/rw/rw-0.7.ebuild b/sci-mathematics/rw/rw-0.7.ebuild index 91d52f4..37d615e 100644 --- a/sci-mathematics/rw/rw-0.7.ebuild +++ b/sci-mathematics/rw/rw-0.7.ebuild @@ -11,12 +11,23 @@ SRC_URI="${AUTHORPAGE}/software/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="executable" +KEYWORDS="~amd64" +IUSE="+executable" DEPEND="executable? ( >=dev-libs/igraph-0.6 )" RDEPEND="${DEPEND}" +DOCDIR="/usr/share/doc/${PF}" + src_configure(){ - econf $(use_enable executable) + econf $(use_enable executable) \ + --docdir="${EPREFIX}${DOCDIR}" +} + +src_install(){ + # The examples graphs are meant to be fed uncompressed into the 'rw' + # program. The rest of the docs are small so just leave everything + # uncompressed. + docompress -x "${DOCDIR}" + default }