blob: 9e7285e241ad8158b3a317286918cdb4c5101e98 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-perl/RPM/RPM-0.32-r1.ebuild,v 1.1 2002/05/04 02:45:39 woodchip Exp $
S=${WORKDIR}/Perl-${P}
DESCRIPTION="RPM:: module for perl"
SRC_URI="http://www.cpan.org/authors/id/RJRAY/Perl-${P}.tar.gz"
DEPEND="virtual/glibc >=sys-devel/perl-5 app-arch/rpm"
LICENSE="Artistic | GPL-2"
SLOT="0"
src_compile() {
OPTIMIZE="$CFLAGS" perl Makefile.PL /usr
make || die
}
src_install () {
eval `perl '-V:installarchlib'`
mkdir -p ${D}/$installarchlib
make \
PREFIX=${D}/usr \
INSTALLMAN3DIR=${D}/usr/share/man/man3 \
INSTALLMAN1DIR=${D}/usr/share/man/man1 \
install || die
dodoc ChangeLog MANIFEST README ToDo
}
|