summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-16 19:16:23 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-10-16 19:17:36 +0200
commitd2323d9284592f4b75e50b623532bbc88920bae1 (patch)
tree046505316a51fdd7b2b4c96e48caf9dc40694b17 /dev-perl/Curses
parentdev-perl/CSS-Tiny: EAPI=8 bump (diff)
downloadgentoo-d2323d9284592f4b75e50b623532bbc88920bae1.tar.gz
gentoo-d2323d9284592f4b75e50b623532bbc88920bae1.tar.bz2
gentoo-d2323d9284592f4b75e50b623532bbc88920bae1.zip
dev-perl/Curses: Version bump 1.38
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/Curses')
-rw-r--r--dev-perl/Curses/Curses-1.380.0.ebuild40
-rw-r--r--dev-perl/Curses/Manifest1
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-perl/Curses/Curses-1.380.0.ebuild b/dev-perl/Curses/Curses-1.380.0.ebuild
new file mode 100644
index 000000000000..11531cb659ac
--- /dev/null
+++ b/dev-perl/Curses/Curses-1.380.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=GIRAFFED
+DIST_VERSION=1.38
+DIST_EXAMPLES=("demo" "demo2" "demo.form" "demo.menu" "demo.panel")
+inherit perl-module
+
+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:=[unicode(+)?]
+ virtual/perl-Data-Dumper
+"
+DEPEND="
+ sys-libs/ncurses:=[unicode(+)?]
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? ( virtual/perl-Test-Simple )
+"
+
+src_configure() {
+ myconf="${myconf} FORMS PANELS MENUS"
+ mydoc=HISTORY
+ export CURSES_LIBTYPE="$(usex unicode ncursesw ncurses)"
+ local nc_tool="${CURSES_LIBTYPE}$(has_version 'sys-libs/ncurses:0/6' && echo 6 || echo 5)-config"
+ export CURSES_LDFLAGS=$( ${nc_tool} --libs )
+ export CURSES_CFLAGS=$( ${nc_tool} --cflags )
+ perl-module_src_configure
+ if ! use unicode ; then
+ sed -i 's:<form.h>:"/usr/include/form.h":' "${S}"/c-config.h || die
+ fi
+}
diff --git a/dev-perl/Curses/Manifest b/dev-perl/Curses/Manifest
index 22f45eb918a5..2282fca425eb 100644
--- a/dev-perl/Curses/Manifest
+++ b/dev-perl/Curses/Manifest
@@ -1,2 +1,3 @@
DIST Curses-1.36.tar.gz 135049 BLAKE2B c63d1f8d80db33e184c6d9c49c9ee902b5e3ed2e69e4ccbdd683d7b6109f8025d63838ce20f6e57e95c9a9bcd9e14d6af448e52f1b9d219ab388ab74798d917b SHA512 40ce96bdf7ef4bbd6975363bc27c2c561a81cafbaf147f2655a2c6521e09f6e40441cee06b6f8f27e370ad59eaf6f677ffe8e475030dfa870d25eca37717c58c
DIST Curses-1.37.tar.gz 135763 BLAKE2B b42f81d5a382b8cf6c8323cc5c13fd39dcc57081ad2e3de9e940f06a0126879d301ccaebc5c34fb5cb4bffd1263b0681243164539c450db50cd3388e6fd35823 SHA512 10886e725b174fdabc0c9b86a9ef9b717949f0fb03561bfc315e8503be689be7945d1ceeea2f950628ce480c2cc8081736d3b8f28042ea677b252298a9eb4827
+DIST Curses-1.38.tar.gz 135789 BLAKE2B 68817bfafcfe2b9d9480c12f2490f9281b5e0cc51bbcfd795e2728a21ef24e12362cfc0896d7b5d6678f35f25fb80c0aee4cde5cf06ec8b3871168cd059649d6 SHA512 27999e71f19576c930a794c9f478e8a3b6b3b1d1e68c4ca57b712f20c98a83dba46295c012a6c618d097b661ec30441c8147e26579218ecef977d7c7996c7442