summaryrefslogtreecommitdiff
blob: d064a63e5436f010ea35d59dcd1e253f79aa64b1 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.69.ebuild,v 1.1 2007/03/19 14:57:11 yuval Exp $

inherit perl-module eutils wxwidgets

MY_P="Wx-${PV}"
S=${WORKDIR}/${MY_P}
DESCRIPTION="Perl bindings for wxGTK"
HOMEPAGE="http://wxperl.sourceforge.net/"
SRC_URI="mirror://cpan/authors/id/M/MB/MBARBON/${MY_P}.tar.gz"

LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="unicode"

SRC_TEST="do"

DEPEND=">=x11-libs/wxGTK-2.6.2-r1
	>=dev-perl/Alien-wxWidgets-0.25
	>=dev-lang/perl-5.8.4
	virtual/perl-Test-Harness
	>=virtual/perl-File-Spec-0.82"

src_compile() {
	WX_GTK_VER="2.6"
	if use unicode; then
		need-wxwidgets unicode
	else
		need-wxwidgets gtk2
	fi
	perl-module_src_compile
}