1 |
commit: 49f695c88dc3c87ae13c4d7525d3cd866661f91d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 28 12:42:06 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 28 12:42:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f695c8 |
7 |
|
8 |
perl-core/Compress-Raw-Zlib: add 2.202.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../Compress-Raw-Zlib-2.202.0.ebuild | 31 ++++++++++++++++++++++ |
13 |
perl-core/Compress-Raw-Zlib/Manifest | 1 + |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild b/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..c33577df730c |
19 |
--- /dev/null |
20 |
+++ b/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild |
21 |
@@ -0,0 +1,31 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+DIST_AUTHOR=PMQS |
28 |
+DIST_TEST=parallel |
29 |
+DIST_VERSION=2.202 |
30 |
+inherit perl-module |
31 |
+ |
32 |
+DESCRIPTION="Low-Level Interface to zlib compression library" |
33 |
+ |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
36 |
+ |
37 |
+# We use the bundled version of zlib as the minimum version for the system copy |
38 |
+# Check on bumps! Look in https://github.com/pmqs/Compress-Raw-Zlib/commits/master/zlib-src. |
39 |
+RDEPEND=">=sys-libs/zlib-1.2.12" |
40 |
+DEPEND="${RDEPEND}" |
41 |
+BDEPEND="virtual/perl-ExtUtils-MakeMaker" |
42 |
+ |
43 |
+src_prepare() { |
44 |
+ rm -rf "${S}"/zlib-src/ || die |
45 |
+ sed -i '/^zlib-src/d' "${S}"/MANIFEST || die |
46 |
+ perl-module_src_prepare |
47 |
+} |
48 |
+ |
49 |
+src_configure() { |
50 |
+ BUILD_ZLIB=False ZLIB_INCLUDE="${ESYSROOT}"/usr/include \ |
51 |
+ ZLIB_LIB="${ESYSROOT}"/usr/$(get_libdir) perl-module_src_configure |
52 |
+} |
53 |
|
54 |
diff --git a/perl-core/Compress-Raw-Zlib/Manifest b/perl-core/Compress-Raw-Zlib/Manifest |
55 |
index 65da62873b24..a85258cf5797 100644 |
56 |
--- a/perl-core/Compress-Raw-Zlib/Manifest |
57 |
+++ b/perl-core/Compress-Raw-Zlib/Manifest |
58 |
@@ -1 +1,2 @@ |
59 |
DIST Compress-Raw-Zlib-2.201.tar.gz 480467 BLAKE2B e2c706447cdd82c712b0613da69903adb3e9f51dd3e791bea51c836a767ca1df03f18870d377fea20af5f5ffb074925b0a70c80ef507622264d21b657bda4ea2 SHA512 1262f5be347e1efe71f0308385a5b8b927854b1e061d69d9a38c74e6dfacf2ffbec0891bdeb76092de28a5049e1fd1eb3e784e0570b34612a8256d955d7f1ab7 |
60 |
+DIST Compress-Raw-Zlib-2.202.tar.gz 480563 BLAKE2B 8e9eef5fae7dcac500b08ee7315e6d05912fe954e18560f1ecc195800343102cd0f97690c46c5e06bc6c734877e48356cb93fa70d7070c954e62dc2a7bd2d6c5 SHA512 add25f83ecd83fe3beaad12a6f8b37ca046fdfccfa44c03f32b104a9ec6c132407dc606ba0e30fad67151f1b1d4f6886991b19948c12e2964df13a6daa703e72 |