summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2011-08-31 13:47:51 +0000
committerTorsten Veller <tove@gentoo.org>2011-08-31 13:47:51 +0000
commitfab0d8f3a49a87a83fc3bd438ca130b30cf0fff6 (patch)
tree22963760daeb9b77da41a2e249ca7e096e735ce7 /dev-perl/Curses
parentChange version scheme (diff)
downloadgentoo-2-fab0d8f3a49a87a83fc3bd438ca130b30cf0fff6.tar.gz
gentoo-2-fab0d8f3a49a87a83fc3bd438ca130b30cf0fff6.tar.bz2
gentoo-2-fab0d8f3a49a87a83fc3bd438ca130b30cf0fff6.zip
Change version scheme
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Curses')
-rw-r--r--dev-perl/Curses/ChangeLog7
-rw-r--r--dev-perl/Curses/Curses-1.280.0.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-perl/Curses/ChangeLog b/dev-perl/Curses/ChangeLog
index da2d84aca5da..9eba2a757b2a 100644
--- a/dev-perl/Curses/ChangeLog
+++ b/dev-perl/Curses/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-perl/Curses
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/ChangeLog,v 1.59 2011/01/14 18:28:28 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/ChangeLog,v 1.60 2011/08/31 13:47:51 tove Exp $
+
+*Curses-1.280.0 (31 Aug 2011)
+
+ 31 Aug 2011; Torsten Veller <tove@gentoo.org> +Curses-1.280.0.ebuild:
+ Change version scheme
14 Jan 2011; Torsten Veller <tove@gentoo.org> -Curses-1.15.ebuild,
-Curses-1.27.ebuild:
diff --git a/dev-perl/Curses/Curses-1.280.0.ebuild b/dev-perl/Curses/Curses-1.280.0.ebuild
new file mode 100644
index 000000000000..fbc8ee68f9fe
--- /dev/null
+++ b/dev-perl/Curses/Curses-1.280.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/Curses-1.280.0.ebuild,v 1.1 2011/08/31 13:47:51 tove Exp $
+
+EAPI=4
+
+MODULE_AUTHOR=GIRAFFED
+MODULE_VERSION=1.28
+MODULE_A_EXT=tgz
+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"
+
+DEPEND=">=sys-libs/ncurses-5[unicode?]"
+RDEPEND="${DEPEND}"
+
+SRC_TEST="do"
+
+my_curses_version() {
+ echo ncurses$(use unicode && echo w)
+}
+
+pkg_setup() {
+ myconf="${myconf} FORMS PANELS MENUS"
+ mydoc=HISTORY
+ export CURSES_LIBTYPE=$(my_curses_version)
+ export CURSES_LDFLAGS=$($(my_curses_version)5-config --libs)
+ export CURSES_CFLAGS=$( $(my_curses_version)5-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
+}