summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2008-10-02 06:00:40 +0000
committerTorsten Veller <tove@gentoo.org>2008-10-02 06:00:40 +0000
commit056a87e88d614f9f2023d7cd080f4e677025c7fb (patch)
tree8296d39e7262596da382c4ea761d47d23e0d2609 /dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild
parentVersion bump (diff)
downloadgentoo-2-056a87e88d614f9f2023d7cd080f4e677025c7fb.tar.gz
gentoo-2-056a87e88d614f9f2023d7cd080f4e677025c7fb.tar.bz2
gentoo-2-056a87e88d614f9f2023d7cd080f4e677025c7fb.zip
Version bump
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-tuxonice i686)
Diffstat (limited to 'dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild')
-rw-r--r--dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild
new file mode 100644
index 000000000000..b6019bc472ed
--- /dev/null
+++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/BerkeleyDB/BerkeleyDB-0.36.ebuild,v 1.1 2008/10/02 06:00:40 tove Exp $
+
+MODULE_AUTHOR=PMQS
+inherit perl-module eutils db-use
+
+DESCRIPTION="This module provides Berkeley DB interface for Perl."
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+SRC_TEST="do"
+
+# Install DB_File if you want older support. BerkleyDB no longer
+# supports less than 2.0.
+
+DEPEND=">=sys-libs/db-2.0
+ dev-lang/perl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/Gentoo-config-0.26.diff
+ # on Gentoo/FreeBSD we cannot trust on the symlink /usr/include/db.h
+ # as for Gentoo/Linux, so we need to esplicitely declare the exact berkdb
+ # include path
+ sed -i -e "s:/usr/include:$(db_includedir):" "${S}"/config.in || die "berkdb include directory"
+}