diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-06-04 06:41:14 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-06-04 06:41:14 +0000 |
commit | 7bccea6a9acc26c9c0c2c800b7a84094890c9a29 (patch) | |
tree | 9b5b36d6b92c1bda2bf2c7bda81abc01c26df605 /dev-perl | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-7bccea6a9acc26c9c0c2c800b7a84094890c9a29.tar.gz gentoo-2-7bccea6a9acc26c9c0c2c800b7a84094890c9a29.tar.bz2 gentoo-2-7bccea6a9acc26c9c0c2c800b7a84094890c9a29.zip |
*** empty log message ***
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/PDL/PDL-2.2.1.ebuild | 61 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/XML-LibXML-0.91.ebuild | 36 | ||||
-rw-r--r-- | dev-perl/XML-LibXML/files/digest-XML-LibXML-0.91 | 1 | ||||
-rw-r--r-- | dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild | 15 |
4 files changed, 102 insertions, 11 deletions
diff --git a/dev-perl/PDL/PDL-2.2.1.ebuild b/dev-perl/PDL/PDL-2.2.1.ebuild new file mode 100644 index 000000000000..e0a45fc9bded --- /dev/null +++ b/dev-perl/PDL/PDL-2.2.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2000 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/PDL/PDL-2.2.1.ebuild,v 1.1 2001/06/04 06:41:14 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="PDL Perl Module" +SRC_URI="http://cpan.valueclick.com/modules/by-module/PDL/${A}" +HOMEPAGE="http://cpan.valueclick.com/modules/by-module/PDL/${P}.readme" + +DEPEND=">=sys-devel/perl-5 + >=sys-libs/ncurses-5.2 + >=dev-perl/ExtUtils-F77-1.13 + opengl? ( virtual/opengl virtual/glu )" + +src_unpack() { + + unpack ${A} + cp ${FILESDIR}/perldl.conf ${S} + #open gl does not work at the moment + if [ "`use opengl`" ] + then + echo "Disabled at the moment" + sed -e "s:WITH_3D => undef:WITH_3D => 1:" ${FILESDIR}/perldl.conf > ${S}/perldl.conf + else + sed -e "s:WITH_3D => undef:WITH_3D => 0:" ${FILESDIR}/perldl.conf > ${S}/perldl.conf + fi + +} + +src_compile() { + + perl Makefile.PL + try make + make test + +} + +src_install () { + + try make PREFIX=${D}/usr INSTALLMAN3DIR=/usr/share/man/man3 \ + INSTALLMAN1DIR=${D}/usr/share/man/man1 install + + dodoc COPYING Changes DEPENDENCIES DEVELOPMENT README MANIFEST* + dodoc Release_Notes TODO + mv ${D}/usr/lib/perl5/site_perl/5.6.0/${CHOST%%-*}-linux/PDL/HtmlDocs ${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/5.6.0/${CHOST%%-*}-linux/PDL/pdldoc.db + +} + + + + + + diff --git a/dev-perl/XML-LibXML/XML-LibXML-0.91.ebuild b/dev-perl/XML-LibXML/XML-LibXML-0.91.ebuild new file mode 100644 index 000000000000..26c56f13bb26 --- /dev/null +++ b/dev-perl/XML-LibXML/XML-LibXML-0.91.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 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/XML-LibXML/XML-LibXML-0.91.ebuild,v 1.1 2001/06/04 06:41:14 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="A Perl module to parse XSL Transformational sheets using gnome's libXSLT" +SRC_URI="http://cpan.valueclick.com/modules/by-category/11_String_Lang_Text_Proc/XML/${A}" +HOMEPAGE="http://cpan.valueclick.com/modules/by-category/11_String_Lang_Text_Proc/XML/${P}.readme" + +DEPEND=">=sys-devel/perl-5 + >=gnome-libs/libxml2-2.3.9" + +src_compile() { + + perl Makefile.PL + try make + try make test +} + +src_install () { + + try make PREFIX=${D}/usr INSTALLMAN3DIR=${D}/usr/share/man/man3 install + dodoc MANIFEST README + +} + + + + + + + + + diff --git a/dev-perl/XML-LibXML/files/digest-XML-LibXML-0.91 b/dev-perl/XML-LibXML/files/digest-XML-LibXML-0.91 new file mode 100644 index 000000000000..989480787de0 --- /dev/null +++ b/dev-perl/XML-LibXML/files/digest-XML-LibXML-0.91 @@ -0,0 +1 @@ +MD5 f9f3dc2d8dcac50f5d849597d5fe9c03 XML-LibXML-0.91.tar.gz diff --git a/dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild b/dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild index 5279be228c41..4460029615a8 100644 --- a/dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild +++ b/dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 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/XML-LibXSLT/XML-LibXSLT-1.03.ebuild,v 1.1 2001/06/04 03:33:03 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-LibXSLT/XML-LibXSLT-1.03.ebuild,v 1.2 2001/06/04 06:41:14 achim Exp $ A=${P}.tar.gz S=${WORKDIR}/${P} @@ -10,19 +10,12 @@ SRC_URI="http://cpan.valueclick.com/modules/by-category/11_String_Lang_Text_Proc HOMEPAGE="http://cpan.valueclick.com/modules/by-category/11_String_Lang_Text_Proc/XML/${P}.readme" DEPEND=">=sys-devel/perl-5 - >=gnome-base/gnome-libs-1.2 - >=gnome-libs/libxslt-0.5 - >=dev-perl/libwww-perl-5.48" - -src_unpack() { - unpack ${A} - cd ${S} -# patch -p0 < ${FILESDIR}/${P}-LibXML.xs-gentoo.diff -} + >=gnome-libs/libxslt-0.9 + >=dev-perl/XML-LibXML-0.9" src_compile() { - perl Makefile.PL LIBS=\"-L/opt/gnome/lib\" INC=\"-I/opt/gnome/include\" + perl Makefile.PL try make try make test } |