summaryrefslogtreecommitdiff
blob: a9f82c04ae40bcf6643ef7b7012f6001f19e839e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Curses/Curses-1.08.ebuild,v 1.5 2005/05/25 04:17:37 vapier Exp $

inherit perl-module eutils

MY_PV=${PV/8/8b}
MY_P=${PN}-${MY_PV}

DESCRIPTION="Curses interface modules for Perl"
HOMEPAGE="http://search.cpan.org/~giraffed/${MY_P}/"
SRC_URI="mirror://cpan/authors/id/G/GI/GIRAFFED/${MY_P}.tgz"

SLOT="0"
LICENSE="Artistic"
KEYWORDS="~alpha amd64 ~ppc s390 sparc x86"
IUSE=""

SRC_TEST="do"

DEPEND="${DEPEND}
	>=sys-libs/ncurses-5"

myconf="${myconf} GEN PANELS MENUS"

#This patch may or may not be backwards compatible with perl-5.6.1
#Add gaurd as necessary...
src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/Curses-1.08-p5.8-fixes.diff
	cd ${S}
	einfo "Copying hints/c-linux.ncurses.h to c-config.h"
	cp ${S}/hints/c-linux.ncurses.h ${S}/c-config.h
}