From: Matt Turner Date: Wed, 9 Oct 2019 00:36:55 +0000 (-0700) Subject: sys-fs/squashfs-tools-ng: Handle libsquashfs X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e75b3770b7fc858a691e1fe7a0cc39b33aabc3dd;p=gentoo.git sys-fs/squashfs-tools-ng: Handle libsquashfs * Add IUSE=tools * Update LICENSE * Disable static libs and delete *.la files Signed-off-by: Matt Turner --- diff --git a/sys-fs/squashfs-tools-ng/metadata.xml b/sys-fs/squashfs-tools-ng/metadata.xml index a98fd7a51d69..9d2517015161 100644 --- a/sys-fs/squashfs-tools-ng/metadata.xml +++ b/sys-fs/squashfs-tools-ng/metadata.xml @@ -6,6 +6,7 @@ Matt Turner + Build the gensquashfs, rdsquashfs, sqfs2tar, sqfsdiff, and tar2sqfs tools Enable support for XZ ("LZMA2") compression using app-arch/xz-utils diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild index b77878296fdf..22a2dbc93b62 100644 --- a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild @@ -13,9 +13,9 @@ else SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz" fi -LICENSE="GPL-3+" +LICENSE="LGPL-3+ tools? ( GPL-3+ )" SLOT="0" -IUSE="lz4 lzo selinux +xz zstd" +IUSE="lz4 lzo selinux +tools +xz zstd" DEPEND=" sys-libs/zlib:= @@ -34,11 +34,18 @@ src_prepare() { src_configure() { local myconf=( + --disable-static $(use_with lz4) $(use_with lzo) $(use_with selinux) + $(use_with tools) $(use_with xz) $(use_with zstd) ) econf "${myconf[@]}" } + +src_install() { + default + find "${D}" -name "*.la" -delete || die +}