1 |
commit: 0abcdc4c764c06e645f35db3e108559d32b5e31f |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 29 05:30:52 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 29 05:31:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0abcdc4c |
7 |
|
8 |
sys-fs/squashfs-tools: Version 4.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
sys-fs/squashfs-tools/Manifest | 1 + |
14 |
sys-fs/squashfs-tools/squashfs-tools-4.4.ebuild | 66 +++++++++++++++++++++++++ |
15 |
2 files changed, 67 insertions(+) |
16 |
|
17 |
diff --git a/sys-fs/squashfs-tools/Manifest b/sys-fs/squashfs-tools/Manifest |
18 |
index 1995aff20fa..41d0f3cbd34 100644 |
19 |
--- a/sys-fs/squashfs-tools/Manifest |
20 |
+++ b/sys-fs/squashfs-tools/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST squashfs-tools-4.4.tar.gz 241842 BLAKE2B 006e2d340bcf6e20873221fb51fa30e0808c4a4d9e1838ca71c11ddbff3bf472dffe730e9edf07c34f535650e6486a8a80a88f82d6c9ef7a7c19aa22098e9197 SHA512 133ce437fb8c929933d52cff710b61dd9181f6f8be58250b0d6a59a7bb79a2b350f68f456b06a0e17c469409a71272d586802d570248273ddcd5dad088c00308 |
23 |
DIST squashfs-tools_4.3-11.debian.tar.xz 27108 BLAKE2B 948a69f79fbec6af2467a56457410253676d693e1d67efef034f85523c17e6db6d85f1f9e9b2f8ae391ac5783d37b7d2cdb3434acee96c19880bbf6a5b771e40 SHA512 ef22436a6da925f8ac0c61ae4450b4cc9a87930b456035dd2588c3edf0d7530cd1a9d1e7bde90c9462e39687a9a8d0caedea5f181cd2414e4caa8af1d3965b0a |
24 |
DIST squashfs-tools_4.3-12.debian.tar.xz 27300 BLAKE2B 60e127f0ab2fde08c58bf255926b47812b8103793ee187633bf0ee12c9b74ae55faf930f992be3eee87b998da9ed7bb42b1150e58903b2855b159b861b542669 SHA512 13b04a85b1237b5a88a0e01f82b992d98e1b29e3a90a29230607c5232e0188d5402de55a08b6cf78b09f7da2eea05ccc6d15ac0de375af8004c468cfac1fe940 |
25 |
DIST squashfs-tools_4.3-3.debian.tar.xz 15252 BLAKE2B 5273eb8007192190786513f49be68eded38a7acae80d0c84067e8d239d53304a79be454cc4970af0d1c1eff6e58b75403201497dfd18d175f9d5aae5e0102834 SHA512 ab1a707e04e92697549f7e7c667c5da835d39d5e2cb791e47bf549b232e7173e6981c33a87cd373c4a7a4815e4af1b7294fe13e54422a5ccdcff90904bfc51ae |
26 |
|
27 |
diff --git a/sys-fs/squashfs-tools/squashfs-tools-4.4.ebuild b/sys-fs/squashfs-tools/squashfs-tools-4.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..fc9ce8107b2 |
30 |
--- /dev/null |
31 |
+++ b/sys-fs/squashfs-tools/squashfs-tools-4.4.ebuild |
32 |
@@ -0,0 +1,66 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit flag-o-matic toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="tools to create and extract Squashfs filesystems" |
40 |
+HOMEPAGE="https://github.com/plougher/squashfs-tools" |
41 |
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" |
46 |
+IUSE="debug lz4 lzma lzo static xattr +xz zstd" |
47 |
+ |
48 |
+LIB_DEPEND=" |
49 |
+ sys-libs/zlib[static-libs(+)] |
50 |
+ !xz? ( !lzo? ( sys-libs/zlib[static-libs(+)] ) ) |
51 |
+ lz4? ( app-arch/lz4[static-libs(+)] ) |
52 |
+ lzma? ( app-arch/xz-utils[static-libs(+)] ) |
53 |
+ lzo? ( dev-libs/lzo[static-libs(+)] ) |
54 |
+ xattr? ( sys-apps/attr[static-libs(+)] ) |
55 |
+ xz? ( app-arch/xz-utils[static-libs(+)] ) |
56 |
+ zstd? ( app-arch/zstd[static-libs(+)] ) |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
60 |
+" |
61 |
+DEPEND=" |
62 |
+ ${RDEPEND} |
63 |
+ static? ( ${LIB_DEPEND} ) |
64 |
+" |
65 |
+S=${WORKDIR}/${P}/${PN} |
66 |
+ |
67 |
+use10() { usex $1 1 0 ; } |
68 |
+ |
69 |
+src_configure() { |
70 |
+ # restore GNU89 inline semantics to |
71 |
+ # emit function symbols, bug 595290 |
72 |
+ append-cflags -std=gnu89 |
73 |
+ |
74 |
+ # set up make command line variables in EMAKE_SQUASHFS_CONF |
75 |
+ EMAKE_SQUASHFS_CONF=( |
76 |
+ LZMA_XZ_SUPPORT=$(use10 lzma) |
77 |
+ LZO_SUPPORT=$(use10 lzo) |
78 |
+ LZ4_SUPPORT=$(use10 lz4) |
79 |
+ XATTR_SUPPORT=$(use10 xattr) |
80 |
+ XZ_SUPPORT=$(use10 xz) |
81 |
+ ZSTD_SUPPORT=$(use10 zstd) |
82 |
+ ) |
83 |
+ |
84 |
+ tc-export CC |
85 |
+ use debug && append-cppflags -DSQUASHFS_TRACE |
86 |
+ use static && append-ldflags -static |
87 |
+} |
88 |
+ |
89 |
+src_compile() { |
90 |
+ emake "${EMAKE_SQUASHFS_CONF[@]}" |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ dobin mksquashfs unsquashfs |
95 |
+ cd .. |
96 |
+ dodoc ACKNOWLEDGEMENTS CHANGES README* |
97 |
+ dodoc -r RELEASE-READMEs |
98 |
+} |