summaryrefslogtreecommitdiff
blob: 0e3905a35523a01bb764451685993d23c22d0dff (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
35
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk2-perl/gtk2-perl-0.12.ebuild,v 1.2 2003/12/06 17:52:30 spider Exp $

IUSE="perl"
inherit perl-module

MY_P=Gtk2-Perl-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Perl bindings for GTK2"
SRC_URI="mirror://sourceforge/gtk2-perl/${MY_P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/gtk2-perl/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc ~alpha ~ppc"

DEPEND="${DEPEND}
	=x11-libs/gtk+-2*
	xml? ( dev-perl/XML-Writer dev-perl/XML-Parser )
	>=dev-perl/Inline-0.44
	dev-perl/inline-files
	>=dev-perl/Parse-RecDescent-0.80"

src_compile() {
	echo "y" | perl-module_src_compile
	perl-module_src_test
}

src_install () {
	perl-module_src_install
}