diff options
Diffstat (limited to 'dev-perl/BerkeleyDB')
-rw-r--r-- | dev-perl/BerkeleyDB/BerkeleyDB-0.550.0.ebuild | 36 | ||||
-rw-r--r-- | dev-perl/BerkeleyDB/Manifest | 6 | ||||
-rw-r--r-- | dev-perl/BerkeleyDB/files/Gentoo-config-0.26.diff | 23 | ||||
-rw-r--r-- | dev-perl/BerkeleyDB/metadata.xml | 27 |
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.550.0.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.550.0.ebuild new file mode 100644 index 000000000000..f0fe0226881f --- /dev/null +++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.550.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=PMQS +MODULE_VERSION=0.55 +inherit perl-module eutils db-use + +DESCRIPTION="This module provides Berkeley DB interface for Perl" + +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="" + +# Install DB_File if you want older support. BerkleyDB no longer +# supports less than 2.0. + +RDEPEND=">=sys-libs/db-2.0:*" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker" + +SRC_TEST="do" + +src_prepare() { + 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" +} + +src_test() { + perl_rm_files t/pod.t + perl-module_src_test +} diff --git a/dev-perl/BerkeleyDB/Manifest b/dev-perl/BerkeleyDB/Manifest new file mode 100644 index 000000000000..e7015b497b24 --- /dev/null +++ b/dev-perl/BerkeleyDB/Manifest @@ -0,0 +1,6 @@ +AUX Gentoo-config-0.26.diff 568 SHA256 6ed6506872c7fa74a9e3f236c7220909e0e7741f27152f9504e8c286743a6854 SHA512 01b7cf2fd724039aa282fcf5b95315b7b41c05e23bf7cd5200855733e975a20bac1fb56d294a99739133d96ba8aad10a9bf8a73db1d8bea1c2eb63a6edc91128 WHIRLPOOL 22c4d7e35c19be79dd6b5d0dc4c70d0fd2633f3f3e880e1035016e393affb0659aef69eea382d5208d3a57a9680c8cae1869c88fe7471351cf9f27695d132d45 +DIST BerkeleyDB-0.55.tar.gz 203318 SHA256 6f28e141c7e2fbc455621bc809d6e7d84a3640cc77568b07798ae3933107e44f SHA512 a9bee92b0168918eaf6fb38b7b66005cfbb360ce89a9ae9feeb022e3d27fa7e627412b5c19233840571ed60568729d4bd83d279f84a0c7db921b8eed9f73afea WHIRLPOOL 3831b7dcce5249c1576bee608feaf552d0482360451a391fd5f13ebe7da0124ccfabf3d5ea74155fc9baac12dd99b1742a15eb06fdb440d24cd54a24fb201281 +EBUILD BerkeleyDB-0.550.0.ebuild 902 SHA256 46dfad71be56f45d47bd8ff00cc610e9abb717089bf75fefc689640a043300a6 SHA512 33fb52ce4f0a69816689464451dbf4e22c536d8c26b1517bd13ccff93cb6bed21cae1faec2a26352e272844a6dda0d4a2fc0a588f0b86199b9a2ff6d0329a977 WHIRLPOOL 3cdb205f573a022c3ffdd3545d26f2c103e25fe89a172f553372c7a0fb8a21a2273c125cd3f6d4ea1e86e0f911e0c23eb5a143e3553640b2e74acda1279dd4aa +MISC ChangeLog 4863 SHA256 5df0f074791c2d6727af230879830fc7faf587b77f4b633fd001bd68cf04d33b SHA512 929df7ee4e62756a7b2d033ba3343131a6e7ae1854025be1a11e491a94bbf9bb472bcd6433655b890431916971ca3718c54ca2e2d4ac88606b04be0c96fdb98f WHIRLPOOL 2fd965e921a9fc6ec0a7774e5abbdf514a09a429c60e1a67a99f4605443a253db245076a3023f19d41171e4c08e4e5202e19c2f3072cc6eea7d820de24f0f342 +MISC ChangeLog-2015 13250 SHA256 b0c8bc4a407fcf3c203213ad7defc4b71a12b766e97b6c4fb824401168518686 SHA512 cf5cadb46ed358115734618804d7ad47146e8a7f26ecf98dbf93ccecd577baa0f0507b2f3a8420db04ff32565e4121ee16f602333f3b5c408604a6e88a66ed72 WHIRLPOOL e7d70cf6bc69ab21e36acc48264dc30c3c306339e430e2df0172cb1596beab05b15e33959d8215f5ff901b129cdf56c6432b845daca64102b7d5675014e4d51a +MISC metadata.xml 1362 SHA256 36d25fe2601c1259c5d9149f8b30d34f9ef24ddccf7c4d8e9fdc98e4a49c1f00 SHA512 759622f9cd949c0c0ec377df39b072df1b0131692352a2090cff1c79f9a816e0593c80690bccbf37eef732ac2b7e024cfa9eea718994e9c8a6db86e16f5dd380 WHIRLPOOL fb8c9b67fea384406abefa71841b46d187995311cdf5a41489de80d61e24bff464fa47e2e660b1070311492e2e389e3d8bf16c7150745697ed6db69165251829 diff --git a/dev-perl/BerkeleyDB/files/Gentoo-config-0.26.diff b/dev-perl/BerkeleyDB/files/Gentoo-config-0.26.diff new file mode 100644 index 000000000000..616beba98338 --- /dev/null +++ b/dev-perl/BerkeleyDB/files/Gentoo-config-0.26.diff @@ -0,0 +1,23 @@ +#diff -Naurp config.old config.in +--- config.old 2004-10-21 08:11:53.000000000 -0400 ++++ config.in 2004-10-21 08:13:05.000000000 -0400 +@@ -9,7 +9,8 @@ + + #INCLUDE = /usr/local/include + #INCLUDE = ../.. +-INCLUDE = /usr/local/BerkeleyDB/include ++#INCLUDE = /usr/local/BerkeleyDB/include ++INCLUDE = /usr/include + + # 2. Where is libdb? + # +@@ -18,7 +19,8 @@ INCLUDE = /usr/local/BerkeleyDB/include + + #LIB = /usr/local/lib + #LIB = ../.. +-LIB = /usr/local/BerkeleyDB/lib ++#LIB = /usr/local/BerkeleyDB/lib ++LIB = /usr/lib + + # 3. Is the library called libdb? + # diff --git a/dev-perl/BerkeleyDB/metadata.xml b/dev-perl/BerkeleyDB/metadata.xml new file mode 100644 index 000000000000..2aa448e1dc07 --- /dev/null +++ b/dev-perl/BerkeleyDB/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <upstream> + <remote-id type="cpan">BerkeleyDB</remote-id> + <remote-id type="cpan-module">BerkeleyDB</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Btree</remote-id> + <remote-id type="cpan-module">BerkeleyDB::CDS::Lock</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Common</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Cursor</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Env</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Hash</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Heap</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Queue</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Recno</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Term</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Txn</remote-id> + <remote-id type="cpan-module">BerkeleyDB::TxnMgr</remote-id> + <remote-id type="cpan-module">BerkeleyDB::Unknown</remote-id> + <remote-id type="cpan-module">BerkeleyDB::_tiedArray</remote-id> + <remote-id type="cpan-module">BerkeleyDB::_tiedHash</remote-id> + </upstream> +</pkgmetadata> |