summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/Date-Calc')
-rw-r--r--dev-perl/Date-Calc/Date-Calc-5.0.ebuild30
-rw-r--r--dev-perl/Date-Calc/files/digest-Date-Calc-5.01
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/Date-Calc/Date-Calc-5.0.ebuild b/dev-perl/Date-Calc/Date-Calc-5.0.ebuild
new file mode 100644
index 000000000000..f238a78c2d89
--- /dev/null
+++ b/dev-perl/Date-Calc/Date-Calc-5.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Donny Davies <woodchip@gentoo.org>
+# /space/gentoo/cvsroot/gentoo-x86/dev-perl/DBD-mysql/DBD-mysql-2.1004.ebuild,v 1.1 2001/12/09 20:32:54 woodchip Exp
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Date::Calc module for perl"
+SRC_URI="http://www.cpan.org/authors/id/STBEY/${P}.tar.gz"
+
+DEPEND="virtual/glibc >=sys-devel/perl-5"
+
+src_compile() {
+
+ OPTIMIZE="$CFLAGS" perl Makefile.PL /usr
+ make || die
+}
+
+src_install () {
+
+ eval `perl '-V:installarchlib'`
+ mkdir -p ${D}/$installarchlib
+
+ make \
+ PREFIX=${D}/usr \
+ INSTALLMAN3DIR=${D}/usr/share/man/man3 \
+ INSTALLMAN1DIR=${D}/usr/share/man/man1 \
+ install || die
+
+ dodoc ChangeLog MANIFEST README ToDo
+}
diff --git a/dev-perl/Date-Calc/files/digest-Date-Calc-5.0 b/dev-perl/Date-Calc/files/digest-Date-Calc-5.0
new file mode 100644
index 000000000000..8ea5e26954ea
--- /dev/null
+++ b/dev-perl/Date-Calc/files/digest-Date-Calc-5.0
@@ -0,0 +1 @@
+MD5 0523d78cb8f60dd306ebf7c9807fc24a Date-Calc-5.0.tar.gz 196608