diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-02-16 20:05:58 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-02-16 20:05:58 +0000 |
commit | e82ee1ef399cb30a5eb960806e77e05a53248cb2 (patch) | |
tree | 474f55a830029f9ce868ecc76688746dca41a042 /dev-perl/GD | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.tar.gz gentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.tar.bz2 gentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.zip |
*** empty log message ***
Diffstat (limited to 'dev-perl/GD')
-rw-r--r-- | dev-perl/GD/GD-1.32.ebuild | 47 | ||||
-rw-r--r-- | dev-perl/GD/files/digest-GD-1.32 | 1 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-perl/GD/GD-1.32.ebuild b/dev-perl/GD/GD-1.32.ebuild new file mode 100644 index 000000000000..4558fd9872ed --- /dev/null +++ b/dev-perl/GD/GD-1.32.ebuild @@ -0,0 +1,47 @@ +# 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/GD/GD-1.32.ebuild,v 1.1 2001/02/16 20:01:14 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +CATEGORY="dev-perl" +DESCRIPTION="The Perl DBI Module" +SRC_URI="http://www.cpan.org/modules/by-module/GD/${A}" +HOMEPAGE="http://www.cpan.org/modules/by-module/GD/${P}.readme" + +DEPEND=">=sys-devel/perl-5" +RDEPEND="$DEPEND" + +src_unpack() { + unpack ${A} + cd ${S} + cp Makefile.PL Makefile.PL.orig + sed -e "s:my \$JPEG.*:my \$JPEG='y';:" \ + -e "s:my \$TTF.*:my \$TTF='y';:" \ + Makefile.PL.orig > Makefile.PL + if [ "`use X`" ] + then + cp Makefile.PL Makefile.PL.orig + sed -e "s:my \$XPM.*:my \$XPM='y';:" \ + Makefile.PL.orig > Makefile.PL + fi + +} +src_compile() { + cd ${S} + perl Makefile.PL + try make + try make test +} + +src_install () { + cd ${S} + try make PREFIX=${D}/usr install + dodoc ChangeLog MANIFEST README* + docinto html + dodoc GD.html +} + + + diff --git a/dev-perl/GD/files/digest-GD-1.32 b/dev-perl/GD/files/digest-GD-1.32 new file mode 100644 index 000000000000..6b263509e18c --- /dev/null +++ b/dev-perl/GD/files/digest-GD-1.32 @@ -0,0 +1 @@ +MD5 1fa982def11e42809ef3b802e38a5eb8 GD-1.32.tar.gz |