# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Daniel Robbins # $Header: /var/cvsroot/gentoo-x86/sys-devel/perl/perl-5.6.1.ebuild,v 1.6 2001/06/17 12:51:07 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} DESCRIPTION="Larry Wall's Practical Extraction and Reporting Language" SRC_URI="ftp://ftp.perl.org/pub/perl/CPAN/src/${A}" HOMEPAGE="http://www.perl.org" DEPEND="virtual/glibc sys-apps/groff berkdb? ( >=sys-libs/db-3.2.3h-r3 =sys-libs/db-1.85-r1 ) gdbm? ( >=sys-libs/gdbm-1.8.0 )" RDEPEND="virtual/glibc berkdb? ( >=sys-libs/db-3.2.3h-r3 =sys-libs/db-1.85-r1 ) gdbm? ( >=sys-libs/gdbm-1.8.0 )" src_compile() { # this is gross -- from Christian Gafton, Red Hat cat > config.over < config.sh #THIS IS USED LATER: export PARCH=`grep myarchname config.sh | cut -f2 -d"'"` try make # Parallell make failes make test } src_install() { export PARCH=`grep myarchname config.sh | cut -f2 -d"'"` try make INSTALLMAN1DIR=${D}/usr/share/man/man1 \ INSTALLMAN3DIR=${D}/usr/share/man/man3 install install -m 755 utils/pl2pm ${D}/usr/bin/pl2pm # Generate *.ph files with a trick. Is this sick or what? # Yes it is, and thank you Christian for getting sick just so we can # run perl :) make all -f - <