dev-perl/Curses: add 1.460.0

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel
2026-03-15 12:19:47 +01:00
parent abbd217d95
commit cb2cd6e2b0
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=GIRAFFED
DIST_VERSION=1.46
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 ~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}
"
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
}

View File

@@ -1 +1,2 @@
DIST Curses-1.45.tar.gz 140041 BLAKE2B a6db19c7973069337a5b8999282b7b84547d4d5e0f7c6e0faaf49a79cbf8ab4169bd11cb42e777079ca4e7eca7783fce99b89361a6aa5eaad08c6c1aad849a80 SHA512 91b55022505948609a3dff4bb7a5b0c27089b31201093e74d5c899a1ecb82cc8d59cca17cf5bb1c132c268a7151bda5d35572e85635bec0d2228ce56ff957be6
DIST Curses-1.46.tar.gz 140289 BLAKE2B 09d3d0602ab279de25f982fb1b1fef659e406631a7485883e52278d7ac38529f213e78bb681773a7a97790105117defb5fc38ca36b7ef00a3a387c50c722e026 SHA512 01d1ecde53838defea22725c2864d3afb236104da6eb98631b3342f86244f75b59a942163c2f2945dedea35f0c270435ee5054f489d0aa4ae75fe2fd8c6ed537