blob: 86c3e519fcbf9c23f218ecbae0b605f9028f3222 (
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-2002 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-r1.ebuild,v 1.1 2002/05/06 15:39:26 seemant Exp $
MY_P="${P}ii"
S=${WORKDIR}/${PN}
DESCRIPTION="Perl library for parsing the output of nsgmls"
SRC_URI="http://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${MY_P}.tar.gz"
HOMEPAGE="http://cpan.perl.org/pub/perl/CPAN/modules/by-module/SGMLS/${MY_P}.readme"
SLOT="0"
LICENSE="GPL-2"
src_unpack() {
unpack ${A}
cp ${FILESDIR}/${P}-Makefile ${S}/Makefile
}
src_install () {
eval `perl '-V:package'`
eval `perl '-V:version'`
cd ${S}
dodir /usr/lib/${package}/site_perl/${version}
dodir /usr/bin
make || die
cd ${D}/usr/lib/${package}
mv SGMLS.pm site_perl/${version}/SGMLS.pm
dodoc BUGS COPYING ChangeLog README TODO
}
|