diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild')
-rw-r--r-- | perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
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 new file mode 100644 index 000000000000..c33577df730c --- /dev/null +++ b/perl-core/Compress-Raw-Zlib/Compress-Raw-Zlib-2.202.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=PMQS +DIST_TEST=parallel +DIST_VERSION=2.202 +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 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-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.12" +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 +} |