summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-16 20:05:58 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-16 20:05:58 +0000
commite82ee1ef399cb30a5eb960806e77e05a53248cb2 (patch)
tree474f55a830029f9ce868ecc76688746dca41a042 /dev-perl/DB_File
parent*** empty log message *** (diff)
downloadgentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.tar.gz
gentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.tar.bz2
gentoo-2-e82ee1ef399cb30a5eb960806e77e05a53248cb2.zip
*** empty log message ***
Diffstat (limited to 'dev-perl/DB_File')
-rw-r--r--dev-perl/DB_File/DB_File-1.76.ebuild30
-rwxr-xr-xdev-perl/DB_File/files/config.in4
-rw-r--r--dev-perl/DB_File/files/digest-DB_File-1.761
3 files changed, 33 insertions, 2 deletions
diff --git a/dev-perl/DB_File/DB_File-1.76.ebuild b/dev-perl/DB_File/DB_File-1.76.ebuild
new file mode 100644
index 000000000000..edbde0648c96
--- /dev/null
+++ b/dev-perl/DB_File/DB_File-1.76.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 Jerry Alexandratos <jerry@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/DB_File/DB_File-1.76.ebuild,v 1.1 2001/02/16 20:01:14 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="A Berkeley DB Support Perl Module"
+SRC_URI="http://www.cpan.org/modules/by-module/DB_File/${A}"
+HOMEPAGE="http://www.cpan.org/modules/by-module/DB_File/${P}.readme"
+
+DEPEND=">=sys-devel/perl-5
+ >=sys-libs/db-3.2"
+
+
+src_compile() {
+
+ cp ${FILESDIR}/config.in .
+ perl Makefile.PL
+ try make
+ try make test
+
+}
+
+src_install () {
+
+ try make PREFIX=${D}/usr install
+ dodoc Changes MANIFEST README
+
+}
diff --git a/dev-perl/DB_File/files/config.in b/dev-perl/DB_File/files/config.in
index 103275814a8e..73c04c905fbf 100755
--- a/dev-perl/DB_File/files/config.in
+++ b/dev-perl/DB_File/files/config.in
@@ -9,7 +9,7 @@
# Change the path below to point to the directory where dh.h is
# installed on your system.
-INCLUDE = /usr/include/db1
+INCLUDE = /usr/include/db3
#INCLUDE = /usr/local/BerkeleyDB/include
#INCLUDE = ./libraries/3.0.55
@@ -92,6 +92,6 @@ HASH = u_int32_t
# below (by removing the leading #) and edit the line to use the name
# you have picked.
-DBNAME = -ldb1
+DBNAME = -ldb-3.2
# end of file config.in
diff --git a/dev-perl/DB_File/files/digest-DB_File-1.76 b/dev-perl/DB_File/files/digest-DB_File-1.76
new file mode 100644
index 000000000000..9283051fdb99
--- /dev/null
+++ b/dev-perl/DB_File/files/digest-DB_File-1.76
@@ -0,0 +1 @@
+MD5 c732ad2888f7e6b51c596d6ed21050a0 DB_File-1.76.tar.gz