blob: 9354165ede715d3db3b04d91a1ff249dac9d11db (
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
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.1 2003/07/03 00:48:09 mcummings Exp $
inherit perl-module eutils
S=${WORKDIR}/${P}
DESCRIPTION="Write Perl subroutines in other languages"
SRC_URI="http://www.cpan.org/authors/id/I/IN/INGY/${P}.tar.gz"
HOMEPAGE="http://search.cpan.org/doc/INGY/Inline-0.43/Inline.pod"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="~x86 ~amd64 ~ppc ~sparc alpha"
DEPEND="${DEPEND}
dev-perl/Digest-MD5
dev-perl/File-Spec
dev-perl/Parse-RecDescent
dev-perl/Test-Harness"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
#gtk-2 suggested patch
if [ "`use gtk2`" ]
then
epatch ${FILESDIR}/gtk2-patch.diff
fi
}
src_compile() {
echo "y" | perl-module_src_compile
perl-module_src_test
}
src_install () {
perl-module_src_install
dohtml DT.html
}
|