From 46eedbedafdb0040c37884982d4c775ce277fb7b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 20 Oct 2021 10:22:14 +0100 Subject: gentoo resync : 20.10.2021 --- dev-perl/perl-headers/Manifest | 2 ++ dev-perl/perl-headers/perl-headers-0.0.2.ebuild | 42 +++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 dev-perl/perl-headers/perl-headers-0.0.2.ebuild (limited to 'dev-perl/perl-headers') diff --git a/dev-perl/perl-headers/Manifest b/dev-perl/perl-headers/Manifest index f1e6a726eccc..40d1c2e3ee62 100644 --- a/dev-perl/perl-headers/Manifest +++ b/dev-perl/perl-headers/Manifest @@ -1,4 +1,6 @@ AUX README.gentoo 1175 BLAKE2B e498f2e1d6412f8c0454081395fcdaf995b9f79e373ab3dae7ed3183622b2db8bc18ea46e29f07a55cae92b0a0c468a24065c66f350292cab1d7b7747a079e35 SHA512 572e519c4f8ff15865c9e42f1df6941ea5c20b86d75e9a5baf9ac5fe42e1e769c3a440c310170c9cdafcdd113d4eeb079e605c22be2bc46bae98d84b5c9caf0f DIST perl-headers-0.0.1.tar.gz 2141 BLAKE2B 48f32c486427c30d7eba06d103a9e72d19f817dfb2a55db6aca1e28670cf03d4180dbe6e5b3031133bd517045b827bb76d085dfd786a1263dc1773fdcabb210c SHA512 a9a44a957d863c6d99c0facb324a32e3fee55ec50e34481dbe37c09f6afe103b0cae234ca83d4d591a01d1e620d262b0e9beae53001db1fdde885f9a57234c7f +DIST perl-headers-0.0.2.tar.gz 2153 BLAKE2B 0d3ded4fa0eb778bb9d0d0ccc8df6b1a94b07ba27879b8ad3dcf28ce8661d6486839fd2c3c2eea93bf2268023cbb9c88b060a4775301560c793627a911183820 SHA512 7524ffea75039d67b1ee9b3b7ea27648de3256102ca433061caf8f41325393e2b69a53486112481d251ea9c10b7a157833dab949522184cdabf0645068c2d6f2 EBUILD perl-headers-0.0.1-r1.ebuild 909 BLAKE2B 48dbb05f501e086c0054f1d99fc18b0b8b42cd3fbb118514d9a969e6ac79f8370db24e10cbeb19e7bbe05d445d1b8368a52fd0c3ade00dad6942d23c1ed51d8c SHA512 48daa1ca846de96f3653d80f333ac34eb57e89bfea1cb79d327fce494eae000fb353eae5bb8c161eec1170c13c38497f0df957182cf6676ae22748699afb04e5 +EBUILD perl-headers-0.0.2.ebuild 909 BLAKE2B 48dbb05f501e086c0054f1d99fc18b0b8b42cd3fbb118514d9a969e6ac79f8370db24e10cbeb19e7bbe05d445d1b8368a52fd0c3ade00dad6942d23c1ed51d8c SHA512 48daa1ca846de96f3653d80f333ac34eb57e89bfea1cb79d327fce494eae000fb353eae5bb8c161eec1170c13c38497f0df957182cf6676ae22748699afb04e5 MISC metadata.xml 602 BLAKE2B 9ce6227ebae61f7841bd05fa3d1b647ee1cb91ccec0cf1962f4c0e8b8018ad07ab88a1be9e04bbda14c39ec3581857d85eaed90e5c25addbc4c519e44ae19685 SHA512 18226a112c8b7706e37c1deedb0c9d37bb73ddafce2c6daedf853b59ba8f99b5451e00c1a93eed343bddb15254ffb6221f57b64eadee4f4b0c1ac0bc44a9d727 diff --git a/dev-perl/perl-headers/perl-headers-0.0.2.ebuild b/dev-perl/perl-headers/perl-headers-0.0.2.ebuild new file mode 100644 index 000000000000..82dc37389170 --- /dev/null +++ b/dev-perl/perl-headers/perl-headers-0.0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-functions flag-o-matic readme.gentoo-r1 + +MY_GITV="${PV}" + +DESCRIPTION="Generated .ph equivalents of system headers" +HOMEPAGE="https://github.com/gentoo-perl/perl-headers" +SRC_URI="https://github.com/gentoo-perl/${PN}/archive/${MY_GITV}.tar.gz -> ${PN}-${MY_GITV}.tar.gz" + +LICENSE="|| ( Artistic GPL-1+ )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+debug +sizeof-warning" + +RDEPEND="dev-lang/perl:=" +BDEPEND="${RDEPEND} + sys-kernel/linux-headers +" + +S="${WORKDIR}/${PN}-${MY_GITV}" + +src_compile() { + use sizeof-warning && append-cppflags "-DSIZEOF_WARNING=1" + emake H2PHARGS="$(usex debug " -h" "")" +} + +src_install() { + readme.gentoo_create_doc + perl_set_version + insinto "${ARCH_LIB}" + doins -r "${S}/headers/"* + doins -r "${S}/appended/"* + +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3