diff options
author | Torsten Veller <tove@gentoo.org> | 2010-01-29 14:54:20 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2010-01-29 14:54:20 +0000 |
commit | 33a2ca4a2ffe5257eaf500020c1249833cbaba7a (patch) | |
tree | 896766d3eaf3e4f3363c56fb1e5d1e8d32086e7b /dev-perl/Curses/Curses-1.28.ebuild | |
parent | remove kde3-support by request of the kde-herd, see bug #296465 (diff) | |
download | gentoo-2-33a2ca4a2ffe5257eaf500020c1249833cbaba7a.tar.gz gentoo-2-33a2ca4a2ffe5257eaf500020c1249833cbaba7a.tar.bz2 gentoo-2-33a2ca4a2ffe5257eaf500020c1249833cbaba7a.zip |
Version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Curses/Curses-1.28.ebuild')
-rw-r--r-- | dev-perl/Curses/Curses-1.28.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-perl/Curses/Curses-1.28.ebuild b/dev-perl/Curses/Curses-1.28.ebuild new file mode 100644 index 000000000000..a138e5105a98 --- /dev/null +++ b/dev-perl/Curses/Curses-1.28.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/Curses-1.28.ebuild,v 1.1 2010/01/29 14:54:20 tove Exp $ + +EAPI=2 + +MODULE_AUTHOR=GIRAFFED +MODULE_A=${P}.tgz +inherit perl-module + +DESCRIPTION="Curses interface modules for Perl" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +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 +} |