summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-21 09:01:29 +0100
committerSam James <sam@gentoo.org>2023-06-21 09:17:33 +0100
commitefdaca358a512f076c42adc6c56d6e95fb4ab1e2 (patch)
treee08d35387a0a21148c9888573c2876254079e63d /dev-perl/Curses
parentdev-perl/Danga-Socket: update DESCRIPTION (diff)
downloadgentoo-efdaca358a512f076c42adc6c56d6e95fb4ab1e2.tar.gz
gentoo-efdaca358a512f076c42adc6c56d6e95fb4ab1e2.tar.bz2
gentoo-efdaca358a512f076c42adc6c56d6e95fb4ab1e2.zip
dev-perl/Curses: add 1.440.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Curses')
-rw-r--r--dev-perl/Curses/Curses-1.440.0.ebuild44
-rw-r--r--dev-perl/Curses/Manifest1
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-perl/Curses/Curses-1.440.0.ebuild b/dev-perl/Curses/Curses-1.440.0.ebuild
new file mode 100644
index 000000000000..5451a85e0efc
--- /dev/null
+++ b/dev-perl/Curses/Curses-1.440.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=GIRAFFED
+DIST_VERSION=1.44
+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"
+IUSE="+unicode"
+
+RDEPEND="
+ >=sys-libs/ncurses-6:=[unicode(+)?]
+ virtual/perl-Data-Dumper
+"
+DEPEND="
+ >=sys-libs/ncurses-6:=[unicode(+)?]
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ virtual/pkgconfig
+ 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} || die)
+ export CURSES_CFLAGS=$($(tc-getPKG_CONFIG) --cflags ${CURSES_LIBTYPE} || die)
+
+ 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 f41c9deb405e..4902dad2e22f 100644
--- a/dev-perl/Curses/Manifest
+++ b/dev-perl/Curses/Manifest
@@ -2,3 +2,4 @@ DIST Curses-1.37.tar.gz 135763 BLAKE2B b42f81d5a382b8cf6c8323cc5c13fd39dcc57081a
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
+DIST Curses-1.44.tar.gz 139766 BLAKE2B 822ff66038b551476a26f174bccba213d8d4e238144129245c68a8e239b8c0c68e6cb351637e158d39af7878a83a436776833898623f934c91b694d71ef34426 SHA512 2c7f9ad9971c1afe6c1bee59581466f848ab1128e546effccd2118cb7bce1962ec7f6a8da60be3cdd1405f6b0a44f7c29c5f7900cbc436940592b1075fbfb6f7