diff options
author | Sam James <sam@gentoo.org> | 2023-02-12 06:41:20 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-02-12 06:41:43 +0000 |
commit | b074b73ff1704a4d61ad14a6687fe419bdc7fe65 (patch) | |
tree | 0cee47aea3b388a52ab3527a4eec4ee2a18b7350 /dev-perl/Curses | |
parent | dev-perl/Alien-Build: add 2.770.0 (diff) | |
download | gentoo-b074b73ff1704a4d61ad14a6687fe419bdc7fe65.tar.gz gentoo-b074b73ff1704a4d61ad14a6687fe419bdc7fe65.tar.bz2 gentoo-b074b73ff1704a4d61ad14a6687fe419bdc7fe65.zip |
dev-perl/Curses: add 1.430.0
Closes: https://bugs.gentoo.org/883741
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Curses')
-rw-r--r-- | dev-perl/Curses/Curses-1.430.0.ebuild | 43 | ||||
-rw-r--r-- | dev-perl/Curses/Manifest | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-perl/Curses/Curses-1.430.0.ebuild b/dev-perl/Curses/Curses-1.430.0.ebuild new file mode 100644 index 000000000000..e7f715c18099 --- /dev/null +++ b/dev-perl/Curses/Curses-1.430.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=GIRAFFED +DIST_VERSION=1.43 +DIST_EXAMPLES=("demo" "demo2" "demo.form" "demo.menu" "demo.panel") +inherit perl-module toolchain-funcs + +DESCRIPTION="Curses interface modules for Perl" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris ~x86-solaris" +IUSE="+unicode" + +RDEPEND=" + >=sys-libs/ncurses-6:=[unicode(+)?] + virtual/perl-Data-Dumper +" +DEPEND=" + >=sys-libs/ncurses-6:=[unicode(+)?] +" +BDEPEND=" + ${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( virtual/perl-Test-Simple ) +" + +src_configure() { + myconf=( FORMS PANELS MENUS ) + mydoc=( HISTORY ) + + export CURSES_LIBTYPE="$(usex unicode ncursesw ncurses)" + export CURSES_LDFLAGS=$($(tc-getPKG_CONFIG) --libs ${CURSES_LIBTYPE}) + export CURSES_CFLAGS=$($(tc-getPKG_CONFIG) --cflags ${CURSES_LIBTYPE}) + + perl-module_src_configure + + if ! use unicode ; then + sed -i "s:<form.h>:\"${ESYSROOT}/usr/include/form.h\":" "${S}"/c-config.h || die + fi +} diff --git a/dev-perl/Curses/Manifest b/dev-perl/Curses/Manifest index 56d0bf347996..f41c9deb405e 100644 --- a/dev-perl/Curses/Manifest +++ b/dev-perl/Curses/Manifest @@ -1,3 +1,4 @@ DIST Curses-1.37.tar.gz 135763 BLAKE2B b42f81d5a382b8cf6c8323cc5c13fd39dcc57081ad2e3de9e940f06a0126879d301ccaebc5c34fb5cb4bffd1263b0681243164539c450db50cd3388e6fd35823 SHA512 10886e725b174fdabc0c9b86a9ef9b717949f0fb03561bfc315e8503be689be7945d1ceeea2f950628ce480c2cc8081736d3b8f28042ea677b252298a9eb4827 DIST Curses-1.38.tar.gz 135789 BLAKE2B 68817bfafcfe2b9d9480c12f2490f9281b5e0cc51bbcfd795e2728a21ef24e12362cfc0896d7b5d6678f35f25fb80c0aee4cde5cf06ec8b3871168cd059649d6 SHA512 27999e71f19576c930a794c9f478e8a3b6b3b1d1e68c4ca57b712f20c98a83dba46295c012a6c618d097b661ec30441c8147e26579218ecef977d7c7996c7442 DIST Curses-1.41.tar.gz 137458 BLAKE2B 04cb8fc655d0f8ce629fad453923a82ee8c3f7b95e042f036b1c1dc6781e181c04716f8166ebfc0a34eab2402271e8e05ce9438af7a7276c11d22fd9106733f7 SHA512 a8d091f3f79be6368bb0e465563cc736a934f66f489d8c1ec86dca71c22705c7969e1468c9d330cc6653994af550f8f95282b0fd504174d2f77b7d32e98be108 +DIST Curses-1.43.tar.gz 138539 BLAKE2B 18557b1e992d9532f18ff97d804b13b845113371f91e79779bdc35df7c3297e77ba64ae9fa25af1045a7b5602a45b80f4fd511a842a6fd616b1a5f9d21933578 SHA512 8fd4592b3eb4466e89ca2c64fc43e2f5cbb97b75802ec236e34962b4732b014820ff1c1ee089f0b4ac9a65d4110cdf89887263c1a664cf094353c767a2af215c |