From bbdda4817aa5fad1ecc52315a0461ab4d1efcff2 Mon Sep 17 00:00:00 2001 From: Achim Gottinger Date: Sun, 5 Nov 2000 19:02:55 +0000 Subject: *** empty log message *** --- sys-devel/perl/perl-5.6.0-r2.ebuild | 109 ++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 sys-devel/perl/perl-5.6.0-r2.ebuild (limited to 'sys-devel') diff --git a/sys-devel/perl/perl-5.6.0-r2.ebuild b/sys-devel/perl/perl-5.6.0-r2.ebuild new file mode 100644 index 000000000000..c9d8c848a622 --- /dev/null +++ b/sys-devel/perl/perl-5.6.0-r2.ebuild @@ -0,0 +1,109 @@ +# 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.0-r2.ebuild,v 1.1 2000/11/05 19:02:55 achim Exp $ + +P=perl-5.6.0 +A=${P}.tar.gz +S=${WORKDIR}/perl-5.6.0 +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" + +src_compile() { + +# this is gross -- from Christian Gafton, Red Hat +cat > config.over < Configure +# sh Configure -d + + sh Configure -des -Dprefix=/usr -Dd_dosuid \ + -Dd_semctl_semun -Di_db -Di_gdbm \ + -Dusethreads -Duse505threads + -Dman3dir=/usr/man/man3 + + #Optimize ;) + cp config.sh config.sh.orig + sed -e "s/optimize='-O2'/optimize=\'${CFLAGS}\'/" config.sh.orig > config.sh + #THIS IS USED LATER: + export PARCH=`grep myarchname config.sh | cut -f2 -d"'"` + try make + make test +} + +src_install() { + try make install + install -m 755 utils/pl2pm $D/usr/bin/pl2pm +export D +# 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 - <