summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-07-31 12:49:36 -0700
committerZac Medico <zmedico@gentoo.org>2016-07-31 12:52:34 -0700
commitf95904900ddcaa355f6597a9a3889cae94be7ce3 (patch)
tree5a21e22c341adff1adcf8543e19219160650c244 /sys-fs
parentnet-ftp/pure-ftpd: Bump to version 1.0.43 (diff)
downloadgentoo-f95904900ddcaa355f6597a9a3889cae94be7ce3.tar.gz
gentoo-f95904900ddcaa355f6597a9a3889cae94be7ce3.tar.bz2
gentoo-f95904900ddcaa355f6597a9a3889cae94be7ce3.zip
sys-fs/squashfuse: version bump to 0.1.100
Signed-off-by: Zac Medico <zmedico@gentoo.org> Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/squashfuse/Manifest1
-rw-r--r--sys-fs/squashfuse/metadata.xml3
-rw-r--r--sys-fs/squashfuse/squashfuse-0.1.100.ebuild34
3 files changed, 38 insertions, 0 deletions
diff --git a/sys-fs/squashfuse/Manifest b/sys-fs/squashfuse/Manifest
index 6bf6392c6e4c..40fc9fb61e9a 100644
--- a/sys-fs/squashfuse/Manifest
+++ b/sys-fs/squashfuse/Manifest
@@ -1 +1,2 @@
+DIST squashfuse-0.1.100.tar.gz 393548 SHA256 2da9f53482f7e3c0ab407dd47062a0feee7cda770b2342def1d36271e89f2d7f SHA512 e6a56354e71991ccbcbd2f9e6967f1f5a1056edbee286e6a6d6c35f777ed6e6494243633d070da700cf43a8bf7b56269087a0db1d4b2d45ed49f4830caad7927 WHIRLPOOL 88138f062d129f4503e3556b017958af681d54200fa6990d4a23869fd60281223d9d797731b96cb90c9b11d9244d9700ac86d0e4f27ff9be3a82865b54cfc6bd
DIST squashfuse-0.1_p20130530.zip 70224 SHA256 821c2e3ea484315f27b424326a7488c8880a64ab5d212774864dcb0b5d95675d SHA512 1e2ba5a61cdc5eac3fcf13d5d2a55d0656ac247b057f7cff9ef5365eb59f52fa6159cd2ea73475627e62f53fab72c5d12819161e794c683d53059f7667a774f0 WHIRLPOOL 0d07722d4d7f22e4d2dc68b0eedbaf9f3d4d09a6eeaac31bd3956996e73842750f056eb88a1ba68bd4fb8584714913c09a0550180c31bd2ec182bb1901beac73
diff --git a/sys-fs/squashfuse/metadata.xml b/sys-fs/squashfuse/metadata.xml
index cdbecb75705a..819cb2f56294 100644
--- a/sys-fs/squashfuse/metadata.xml
+++ b/sys-fs/squashfuse/metadata.xml
@@ -11,4 +11,7 @@
<email>zmedico@gentoo.org</email>
<name>Zac Medico</name>
</maintainer>
+ <use>
+ <flag name="lz4">Enable support for lz4 compression</flag>
+ </use>
</pkgmetadata>
diff --git a/sys-fs/squashfuse/squashfuse-0.1.100.ebuild b/sys-fs/squashfuse/squashfuse-0.1.100.ebuild
new file mode 100644
index 000000000000..3dec8258a43f
--- /dev/null
+++ b/sys-fs/squashfuse/squashfuse-0.1.100.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="FUSE filesystem to mount squashfs archives"
+HOMEPAGE="https://github.com/vasi/squashfuse"
+SRC_URI="https://github.com/vasi/squashfuse/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="lz4 lzma lzo +zlib"
+REQUIRED_USE="|| ( lz4 lzma lzo zlib )"
+
+COMMON_DEPEND="
+ >=sys-fs/fuse-2.8.6:=
+ lzma? ( >=app-arch/xz-utils-5.0.4:= )
+ zlib? ( >=sys-libs/zlib-1.2.5-r2:= )
+ lzo? ( >=dev-libs/lzo-2.06:= )
+ lz4? ( >=app-arch/lz4-0_p106:= )
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+src_configure() {
+ filter-flags -flto* -fwhole-program -fno-common
+ econf \
+ $(use lz4 || echo --without-lz4) \
+ $(use lzma || echo --without-xz) \
+ $(use lzo || echo --without-lzo) \
+ $(use zlib || echo --without-zlib)
+}