diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-07-28 12:16:34 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-07-28 12:17:52 -0700 |
commit | 083dce930d174d21bd9c488a7bd1c1e5589bfa04 (patch) | |
tree | 38af0a3ed3ebfbbb5d67467b84124c5244c855a5 /sys-fs/squashfs-tools-ng | |
parent | kde-frameworks/threadweaver: arm64 stable (bug #690096) (diff) | |
download | gentoo-083dce930d174d21bd9c488a7bd1c1e5589bfa04.tar.gz gentoo-083dce930d174d21bd9c488a7bd1c1e5589bfa04.tar.bz2 gentoo-083dce930d174d21bd9c488a7bd1c1e5589bfa04.zip |
sys-fs/squashfs-tools-ng: Version bump to 0.5
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-fs/squashfs-tools-ng')
-rw-r--r-- | sys-fs/squashfs-tools-ng/Manifest | 1 | ||||
-rw-r--r-- | sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.5.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/squashfs-tools-ng/Manifest b/sys-fs/squashfs-tools-ng/Manifest index d784474a7b21..acf2fea5e3d7 100644 --- a/sys-fs/squashfs-tools-ng/Manifest +++ b/sys-fs/squashfs-tools-ng/Manifest @@ -1 +1,2 @@ DIST squashfs-tools-ng-0.4.2.tar.xz 150356 BLAKE2B 8b162c13052c73bf260ef354d2a2d000452e0f682ea5d9ab7192766ac0158c17c67fe4fb71c7bbe2be68c89d6acb0e65742c7b317ad55508ad62c3639e28c9b1 SHA512 91fd89a624521e12b516faa0b3d5ffd7d96584423328864aeab39ada3ab3770f3885e37bb0e57869df6e5abc02d64af5d172f32d73c0542eb23fd27c3252a111 +DIST squashfs-tools-ng-0.5.tar.xz 158048 BLAKE2B e8d53336a0955875eaf5a301329f620f6efd27d27d985c760a7eaaded94a60e1a7384f076311101b4a6de36b1330d7b42866079b074b6af1829d4162c1f62b38 SHA512 b39cd6e9627e71eb0fcc59a587612fe062c3f437e11342e6ec1a1fee1e6a51b38dcc881bf9a1d69578ad4686f939ece8ec02ed79a6cc6c69afe06bc6753390bf diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.5.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.5.ebuild new file mode 100644 index 000000000000..60287e83d5f4 --- /dev/null +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A new set of tools for working with SquashFS images" +HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng" +if [[ ${PV} = 9999* ]]; then + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/AgentD/${PN}.git" +else + KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="lz4 lzo selinux +xz +zlib zstd" +REQUIRED_USE="|| ( lz4 lzo xz zlib zstd )" + +DEPEND=" + lz4? ( app-arch/lz4:= ) + lzo? ( dev-libs/lzo:= ) + xz? ( app-arch/xz-utils:= ) + selinux? ( sys-libs/libselinux:= ) + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + [[ ${PV} == "9999" ]] && eautoreconf +} + +src_configure() { + local myconf=( + $(use_with lz4) + $(use_with lzo) + $(use_with selinux) + $(use_with xz) + $(use_with zlib gzip) + $(use_with zstd) + ) + econf "${myconf[@]}" +} |