blob: 4d6c636d0140898e91564e8a33cf479750653ee0 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-perl/SGMLSpm/SGMLSpm-1.03.ebuild,v 1.5 2001/04/09 05:08:37 achim Exp $
A=${PN}-${PV}ii.tar.gz
S=${WORKDIR}/${PN}
DESCRIPTION="Perl library for parsing the output of nsgmls"
SRC_URI="ftp://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${A}"
HOMEPAGE="ftp://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${PN}-${PV}ii.readme"
DEPEND=">=sys-devel/perl-5"
src_unpack() {
unpack ${A}
cp ${FILESDIR}/${P}-Makefile ${S}/Makefile
}
src_compile() {
cd ${S}
}
src_install () {
cd ${S}
dodir /usr/lib/perl5/site_perl/5.6.0
dodir /usr/bin
dodoc BUGS DOC README TODO COPYING ChangeLog
try make
cd ${D}/usr/lib/perl5
mv SGMLS.pm site_perl/5.6.0/SGMLS.pm
}
|