diff --git a/dev-libs/libmspack/libmspack-0.6_alpha.ebuild b/dev-libs/libmspack/libmspack-0.6_alpha.ebuild index 6a40351178f2e..63c273dced26c 100644 --- a/dev-libs/libmspack/libmspack-0.6_alpha.ebuild +++ b/dev-libs/libmspack/libmspack-0.6_alpha.ebuild @@ -15,10 +15,12 @@ SRC_URI="https://www.cabextract.org.uk/libmspack/libmspack-${MY_PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="debug doc static-libs" +IUSE="debug doc static-libs utils" DEPEND="" -RDEPEND="" +RDEPEND=" + utils? ( !app-arch/mscompress ) +" PATCHES=( "${FILESDIR}/${P}-fix-tests.patch" @@ -47,4 +49,7 @@ multilib_src_install_all() { if use doc; then rm "${ED}"/usr/share/doc/"${PF}"/html/{Makefile*,Doxyfile*} || die fi + if ! use utils; then + rm "${ED}"/usr/bin/* || die + fi } diff --git a/dev-libs/libmspack/metadata.xml b/dev-libs/libmspack/metadata.xml index ea4e7c21a8447..1e5806295c835 100644 --- a/dev-libs/libmspack/metadata.xml +++ b/dev-libs/libmspack/metadata.xml @@ -1,8 +1,11 @@ - - reavertm@gentoo.org - Maciej Mrozowski - + + reavertm@gentoo.org + Maciej Mrozowski + + + Enables building cabrip, chmextract, msexpand and oabextract +