From e75b3770b7fc858a691e1fe7a0cc39b33aabc3dd Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 8 Oct 2019 17:36:55 -0700 Subject: sys-fs/squashfs-tools-ng: Handle libsquashfs * Add IUSE=tools * Update LICENSE * Disable static libs and delete *.la files Signed-off-by: Matt Turner --- sys-fs/squashfs-tools-ng/metadata.xml | 1 + sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'sys-fs/squashfs-tools-ng') 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 +} -- cgit v1.2.3-65-gdbad