summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-10-08 17:36:55 -0700
committerMatt Turner <mattst88@gentoo.org>2019-10-08 17:38:20 -0700
commite75b3770b7fc858a691e1fe7a0cc39b33aabc3dd (patch)
tree7cbafb115e00b0b26d1d54bda4d3e25e8bd96167 /sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild
parentapp-admin/stow: Version bump to 2.3.1 (diff)
downloadgentoo-e75b3770b7fc858a691e1fe7a0cc39b33aabc3dd.tar.gz
gentoo-e75b3770b7fc858a691e1fe7a0cc39b33aabc3dd.tar.bz2
gentoo-e75b3770b7fc858a691e1fe7a0cc39b33aabc3dd.zip
sys-fs/squashfs-tools-ng: Handle libsquashfs
* Add IUSE=tools * Update LICENSE * Disable static libs and delete *.la files Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild')
-rw-r--r--sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild11
1 files changed, 9 insertions, 2 deletions
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 b77878296fd..22a2dbc93b6 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
+}