38 lines
919 B
Bash
38 lines
919 B
Bash
|
# Copyright 1999-2010 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Inline/Inline-0.44-r1.ebuild,v 1.28 2010/01/21 13:21:57 tove Exp $
|
||
|
|
||
|
inherit perl-module eutils
|
||
|
|
||
|
DESCRIPTION="Write Perl subroutines in other languages"
|
||
|
HOMEPAGE="http://search.cpan.org/doc/INGY/Inline-0.43/Inline.pod"
|
||
|
SRC_URI="mirror://cpan/authors/id/I/IN/INGY/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="Artistic"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
|
||
|
IUSE="gtk"
|
||
|
|
||
|
DEPEND="virtual/perl-Digest-MD5
|
||
|
virtual/perl-File-Spec
|
||
|
dev-perl/Parse-RecDescent
|
||
|
virtual/perl-Test-Harness
|
||
|
dev-lang/perl"
|
||
|
|
||
|
src_unpack() {
|
||
|
unpack ${P}.tar.gz
|
||
|
cd ${S}
|
||
|
#gtk-2 suggested patch
|
||
|
use gtk && epatch ${FILESDIR}/gtk2-patch.diff
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
echo "y" | perl-module_src_compile
|
||
|
perl-module_src_test
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
perl-module_src_install
|
||
|
dohtml DT.html
|
||
|
}
|