diff options
author | Robert Coie <rac@gentoo.org> | 2003-07-26 19:31:27 +0000 |
---|---|---|
committer | Robert Coie <rac@gentoo.org> | 2003-07-26 19:31:27 +0000 |
commit | ff43e4d7cf816c720424445f9ead5eb58761f4c5 (patch) | |
tree | 33e6fdf730193fbf217d20e2cd32048cf7fe73c7 /dev-perl/PDL | |
parent | relax deps (diff) | |
download | historical-ff43e4d7cf816c720424445f9ead5eb58761f4c5.tar.gz historical-ff43e4d7cf816c720424445f9ead5eb58761f4c5.tar.bz2 historical-ff43e4d7cf816c720424445f9ead5eb58761f4c5.zip |
relax deps
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r-- | dev-perl/PDL/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/PDL/PDL-2.4.0-r1.ebuild | 66 | ||||
-rw-r--r-- | dev-perl/PDL/files/digest-PDL-2.4.0-r1 | 1 |
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index 59914476d5b7..f3a05e76f1a3 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -1,8 +1,8 @@ MD5 c8f9dc853823b9e487818450d95dad02 PDL-2.3.2-r2.ebuild 1436 MD5 151eca9e3c6dfdd726840bff44b418f0 PDL-2.3.4.ebuild 1514 -MD5 e2c924ba2045329713a7727ae29d51c8 PDL-2.4.0-r1.ebuild 1817 +MD5 a4f13692670f0792c5b80ddc04563fb8 PDL-2.4.0-r1.ebuild 1817 MD5 c52315b9666005e780d75bd99d7ef439 PDL-2.3.2-r1.ebuild 1437 -MD5 3bc53231d73f4aba5cce89fe4a5d5912 ChangeLog 1984 +MD5 deb33f0165839d55ffc835b3a158bdbc ChangeLog 2110 MD5 fa7054255376084e26625ac43e16b3d9 PDL-2.4.0.ebuild 1811 MD5 6227c564933ab56193b3e40c1b9849a9 files/digest-PDL-2.3.2-r1 62 MD5 6227c564933ab56193b3e40c1b9849a9 files/digest-PDL-2.3.2-r2 62 diff --git a/dev-perl/PDL/PDL-2.4.0-r1.ebuild b/dev-perl/PDL/PDL-2.4.0-r1.ebuild new file mode 100644 index 000000000000..20ece92a18bd --- /dev/null +++ b/dev-perl/PDL/PDL-2.4.0-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.0-r1.ebuild,v 1.1 2003/07/26 19:31:25 rac Exp $ + +IUSE="opengl" + +inherit perl-module + +DESCRIPTION="PDL Perl Module" +SRC_URI="http://cpan.valueclick.com/modules/by-module/PDL/${P}.tar.gz" +HOMEPAGE="http://cpan.valueclick.com/modules/by-module/PDL/${P}.readme" +SLOT="0" +LICENSE="Artistic as-is" +KEYWORDS="x86 amd64 ~ppc ~sparc alpha hppa" + +newdepend ">=sys-libs/ncurses-5.2 + dev-perl/Filter + || ( dev-perl/File-Spec >=dev-lang/perl-5.8.0-r12 ) + dev-perl/Inline + >=dev-perl/ExtUtils-F77-1.13 + dev-perl/Text-Balanced + opengl? ( virtual/opengl virtual/glu )" + +mydoc="DEPNDENCIES DEVELOPMENT MANIFEST* COPYING Release_Notes TODO" + + +src_unpack() { + + unpack ${A} + + #open gl does not work at the moment + if [ "`use opengl`" ] + then + echo "OpenGL support is current disabled due to build issues" + sed -e "s:WITH_3D => undef:WITH_3D => 0:" \ + ${FILESDIR}/perldl.conf > ${S}/perldl.conf + else + sed -e "s:WITH_3D => undef:WITH_3D => 0:" \ + ${FILESDIR}/perldl.conf > ${S}/perldl.conf + fi + if [ "`use hppa`" -o "`use amd64`" ] + then + cd ${S}/Lib/Slatec + cp Makefile.PL Makefile.PL.orig + sed -e "s/mycompiler -c -o/mycompiler -fPIC -c -o/" Makefile.PL.orig > Makefile.PL + fi +} + +src_install () { + + perl-module_src_install + mkdir -p ${D}/usr/doc/${P}/html + eval `perl '-V:version'` + PERLVERSION=${version} + mv ${D}/usr/lib/perl5/site_perl/${PERLVERSION}/${CHOST%%-*}-linux/PDL/HtmlDocs/PDL \ + ${D}/usr/doc/${P}/html + + mydir=${D}/usr/doc/${P}/html/PDL + + for i in ${mydir}/* ${mydir}/IO/* ${mydir}/Fit/* ${mydir}/Pod/* ${mydir}/Graphics/* + do + dosed ${i/${D}} + done + + dosed /usr/lib/perl5/site_perl/${PERLVERSION}/${CHOST%%-*}-linux/PDL/pdldoc.db +} diff --git a/dev-perl/PDL/files/digest-PDL-2.4.0-r1 b/dev-perl/PDL/files/digest-PDL-2.4.0-r1 new file mode 100644 index 000000000000..0947c21e7923 --- /dev/null +++ b/dev-perl/PDL/files/digest-PDL-2.4.0-r1 @@ -0,0 +1 @@ +MD5 4804aedbfdf6eb2574a61ca0134386ae PDL-2.4.0.tar.gz 1758829 |