diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Curses | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Curses')
-rw-r--r-- | dev-perl/Curses/Curses-1.360.0.ebuild | 46 | ||||
-rw-r--r-- | dev-perl/Curses/Manifest | 3 | ||||
-rw-r--r-- | dev-perl/Curses/metadata.xml | 19 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Curses/Curses-1.360.0.ebuild b/dev-perl/Curses/Curses-1.360.0.ebuild new file mode 100644 index 000000000000..60ca9136a60c --- /dev/null +++ b/dev-perl/Curses/Curses-1.360.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=GIRAFFED +DIST_VERSION=1.36 +DIST_EXAMPLES=("demo" "demo2" "demo.form" "demo.menu" "demo.panel" "gdc") +inherit perl-module + +DESCRIPTION="Curses interface modules for Perl" + +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 ~sh sparc x86 ~sparc-solaris ~x86-solaris" +IUSE="+unicode test" + +RDEPEND=">=sys-libs/ncurses-5:0=[unicode?] + virtual/perl-Data-Dumper +" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( virtual/perl-Test-Simple ) +" + +my_curses_unicode() { + echo ncurses$(use unicode && echo w) +} + +my_curses_version() { + echo ncurses$(use unicode && echo w)$(has_version '>sys-libs/ncurses-6' && echo 6 || echo 5) +} + +pkg_setup() { + myconf="${myconf} FORMS PANELS MENUS" + mydoc=HISTORY + export CURSES_LIBTYPE=$(my_curses_unicode) + export CURSES_LDFLAGS=$($(my_curses_version)-config --libs) + export CURSES_CFLAGS=$( $(my_curses_version)-config --cflags) +} + +src_configure(){ + 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 new file mode 100644 index 000000000000..6768cd7aba3b --- /dev/null +++ b/dev-perl/Curses/Manifest @@ -0,0 +1,3 @@ +DIST Curses-1.36.tar.gz 135049 BLAKE2B c63d1f8d80db33e184c6d9c49c9ee902b5e3ed2e69e4ccbdd683d7b6109f8025d63838ce20f6e57e95c9a9bcd9e14d6af448e52f1b9d219ab388ab74798d917b SHA512 40ce96bdf7ef4bbd6975363bc27c2c561a81cafbaf147f2655a2c6521e09f6e40441cee06b6f8f27e370ad59eaf6f677ffe8e475030dfa870d25eca37717c58c +EBUILD Curses-1.360.0.ebuild 1152 BLAKE2B 5e0646bcfb41de352fc603c16588130d2670ed100bd16ad39a86964144fc95bd33aab22ef6f99a7744872e3e9082bc57c063557f41037aa16c4b7135d32f507c SHA512 b5446fd085374b0b7eca4be68c74f01db14ee83d354a36c7799f5d1183295199bcc05a58d744fd6647f509af85033c7ed9445b532cc005bd244e580f3fd3c1e9 +MISC metadata.xml 802 BLAKE2B ccae394619eedd43c6e5a522aa9f92e7d786dbb8a83e109af3261ef7d9911ee73b26427c8e5161b61f325261e39781d7bc5aa46f525811cf168f3ce4a6b7b485 SHA512 286dec4f8025e80d92d654c90ca124fa7b8c7986ca7afcd89585f7d57a4d15a76a044840d6f526a8bfde7edbc2dc9b5ba296d692183fa79a75ae3bf55ead1b83 diff --git a/dev-perl/Curses/metadata.xml b/dev-perl/Curses/metadata.xml new file mode 100644 index 000000000000..f5d5cd30a219 --- /dev/null +++ b/dev-perl/Curses/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">Curses</remote-id> + <remote-id type="cpan-module">Curses</remote-id> + <remote-id type="cpan-module">Curses::Field</remote-id> + <remote-id type="cpan-module">Curses::Form</remote-id> + <remote-id type="cpan-module">Curses::Item</remote-id> + <remote-id type="cpan-module">Curses::Menu</remote-id> + <remote-id type="cpan-module">Curses::Panel</remote-id> + <remote-id type="cpan-module">Curses::Screen</remote-id> + <remote-id type="cpan-module">Curses::Window</remote-id> + </upstream> +</pkgmetadata> |