commit:     f3c658e3ae6ec43d19f20ca8872ee465578e7564
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 22:09:32 2016 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 22:10:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c658e3

dev-perl/Curses: Bump to 1.360.0

- Add USE=examples

Upstream:
- Hurd support
- Bugs fixed in examples

Package-Manager: portage-2.3.0

 dev-perl/Curses/Curses-1.360.0.ebuild | 47 +++++++++++++++++++++++++++++++++++
 dev-perl/Curses/Manifest              |  1 +
 2 files changed, 48 insertions(+)

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 00000000..9ff1457
--- /dev/null
+++ b/dev-perl/Curses/Curses-1.360.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
index 59ab01c..ad5937b 100644
--- a/dev-perl/Curses/Manifest
+++ b/dev-perl/Curses/Manifest
@@ -1,2 +1,3 @@
 DIST Curses-1.32.tgz 134753 SHA256 
5dba44fd7964806d9765e6692bc7eb8eb30aeced2740f28b9a4070a5d14ba650 SHA512 
ecaa5cea2b544979229badc9f0d0ce84b385aa178ea0f821e6582865b3be63ea3d0cbc43651e2dc03334b796e5eab961c30e8f1637eec4af579843617e661562
 WHIRLPOOL 
37b548423430a79791659d40aa2d3d66546e0c49bbe8e1fc5c3798b30715ce1ed40343cdec70b3019a4d7c7d8adb37ca66fd8afa9f52d4b1e63774ac6a0c9b58
 DIST Curses-1.33.tar.gz 134541 SHA256 
eb1febf4c7dc01454f6e1d6a7380010e6a9b61b527e7f635c45b08b43c83ce88 SHA512 
094ecf34f4116a4b405a810a16b727ab3201a32a42f98a2e2ac065e6b5cb25939091021f054bc15503fcc4aee1ee47825392cd8bd10e94f10792afcede6fe978
 WHIRLPOOL 
7cb13e0982a2e063325ac2a5716ff49258f81f03f657cee35856960f3452dd0b4e7ddf6f6baf82bc1f709ee436f5156da288d1ed98f018b61ba11eb63b321c83
+DIST Curses-1.36.tar.gz 135049 SHA256 
a414795ba031c5918c70279fe534fee594a96ec4b0c78f44ce453090796add64 SHA512 
40ce96bdf7ef4bbd6975363bc27c2c561a81cafbaf147f2655a2c6521e09f6e40441cee06b6f8f27e370ad59eaf6f677ffe8e475030dfa870d25eca37717c58c
 WHIRLPOOL 
96507aeff6e4a7a27e4cf8fcd3844e03b0c8955d22ca63fd7c5c7d68e28bc30b6393ba488c56bb6d395d4f570e2b316dac59331319aec4770d665f67d4d362ff

Reply via email to