diff options
author | Sam James <sam@gentoo.org> | 2023-07-26 04:21:47 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-26 04:21:47 +0100 |
commit | c522c9d0b9dbaae34a580ff184e539cb1b7b58ee (patch) | |
tree | 56b21e503899177509e8e32e6b310bbff0be4d00 /perl-core/Compress-Raw-Zlib | |
parent | dev-perl/Compress-Raw-Lzma: add 2.206.0 (diff) | |
download | gentoo-c522c9d0b9dbaae34a580ff184e539cb1b7b58ee.tar.gz gentoo-c522c9d0b9dbaae34a580ff184e539cb1b7b58ee.tar.bz2 gentoo-c522c9d0b9dbaae34a580ff184e539cb1b7b58ee.zip |
perl-core/Compress-Raw-Zlib: add 2.206.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'perl-core/Compress-Raw-Zlib')
-rw-r--r-- | perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.206.0.ebuild | 31 | ||||
-rw-r--r-- | perl-core/Compress-Raw-Zlib/Manifest | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.206.0.ebuild b/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.206.0.ebuild new file mode 100644 index 000000000000..026049217247 --- /dev/null +++ b/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.206.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=PMQS +DIST_TEST=parallel +DIST_VERSION=2.206 +inherit perl-module + +DESCRIPTION="Low-Level Interface to zlib compression library" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# We use the bundled version of zlib as the minimum version for the system copy +# Check on bumps! Look in https://github.com/pmqs/Compress-Raw-Zlib/commits/master/zlib-src. +RDEPEND=">=sys-libs/zlib-1.2.13" +DEPEND="${RDEPEND}" +BDEPEND="virtual/perl-ExtUtils-MakeMaker" + +src_prepare() { + rm -rf "${S}"/zlib-src/ || die + sed -i '/^zlib-src/d' "${S}"/MANIFEST || die + perl-module_src_prepare +} + +src_configure() { + BUILD_ZLIB=False ZLIB_INCLUDE="${ESYSROOT}"/usr/include \ + ZLIB_LIB="${ESYSROOT}"/usr/$(get_libdir) perl-module_src_configure +} diff --git a/perl-core/Compress-Raw-Zlib/Manifest b/perl-core/Compress-Raw-Zlib/Manifest index e63eb55cfe65..ff078b14766c 100644 --- a/perl-core/Compress-Raw-Zlib/Manifest +++ b/perl-core/Compress-Raw-Zlib/Manifest @@ -1,2 +1,3 @@ DIST Compress-Raw-Zlib-2.202.tar.gz 480563 BLAKE2B 8e9eef5fae7dcac500b08ee7315e6d05912fe954e18560f1ecc195800343102cd0f97690c46c5e06bc6c734877e48356cb93fa70d7070c954e62dc2a7bd2d6c5 SHA512 add25f83ecd83fe3beaad12a6f8b37ca046fdfccfa44c03f32b104a9ec6c132407dc606ba0e30fad67151f1b1d4f6886991b19948c12e2964df13a6daa703e72 DIST Compress-Raw-Zlib-2.205.tar.gz 481904 BLAKE2B 19572f48b1f25a901b1a88ad49d40ed0a57361f5f62870cce11dc85069e86695db6c3206101c2cd3609e2acb598799ce0a124f1b950cab901bfc412fed5e8580 SHA512 567abb51dc9939f0e0bc206202e63cd8805f924ef23ca48eae4992fdf97d58167aa7438732abd4cd27fa83b3849c7b263b55f3ec10009dddab8c9ca0d1a0ec18 +DIST Compress-Raw-Zlib-2.206.tar.gz 481767 BLAKE2B be4508171b24046c289d07706b1fb61d147057789a91b39799cd61bd388bcf4d02776e79237e3dc26ba12ee578d70898b615621170b73bbdd650f90d10781012 SHA512 3c722e6f363de90f6367446624090a9c482c9ed09f34b749765706da68e55e63f94608ea1d06669af567d8f8111d3311415f1f8a3daf782368c9a7bd4ff226f5 |