summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-09 21:57:41 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-09 21:58:03 +0200
commit596c25ca0420cc0c5f22ffbdc6b9db8b0e3e78a3 (patch)
treef38d5616f6e093a79d9bc68b8b60425813a70a83 /dev-perl/perl-headers
parentdev-perl/Class-Data-Inheritable: EAPI=8 bump, update comment (diff)
downloadgentoo-596c25ca0420cc0c5f22ffbdc6b9db8b0e3e78a3.tar.gz
gentoo-596c25ca0420cc0c5f22ffbdc6b9db8b0e3e78a3.tar.bz2
gentoo-596c25ca0420cc0c5f22ffbdc6b9db8b0e3e78a3.zip
dev-perl/perl-headers: Version bump 0.0.2, with the power of ANSI
Closes: https://bugs.gentoo.org/730230 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/perl-headers')
-rw-r--r--dev-perl/perl-headers/Manifest1
-rw-r--r--dev-perl/perl-headers/perl-headers-0.0.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/perl-headers/Manifest b/dev-perl/perl-headers/Manifest
index c4af8e408336..c974c5e5e332 100644
--- a/dev-perl/perl-headers/Manifest
+++ b/dev-perl/perl-headers/Manifest
@@ -1 +1,2 @@
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
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
+}