summaryrefslogtreecommitdiff
path: root/dev-perl/BerkeleyDB
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-perl/BerkeleyDB
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-perl/BerkeleyDB')
-rw-r--r--dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r2.ebuild64
-rw-r--r--dev-perl/BerkeleyDB/Manifest1
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r2.ebuild b/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r2.ebuild
new file mode 100644
index 000000000000..8a644c1a2e6f
--- /dev/null
+++ b/dev-perl/BerkeleyDB/BerkeleyDB-0.630.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=PMQS
+DIST_VERSION=0.63
+inherit perl-module db-use multilib
+
+DESCRIPTION="This module provides Berkeley DB interface for Perl"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+# Install DB_File if you want older support. BerkleyDB no longer
+# supports less than 2.0.
+
+RDEPEND="
+ >=sys-libs/db-2.0:=
+ <sys-libs/db-7:=
+"
+DEPEND="
+ >=sys-libs/db-2.0:=
+ <sys-libs/db-7:=
+"
+BDEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker"
+
+PERL_RM_FILES=(
+ "t/meta-json.t"
+ "t/meta-yaml.t"
+ "t/pod.t"
+ "scan.pl"
+ "mkconsts.pl"
+)
+# parallel really broken
+DIST_TEST="do"
+src_prepare() {
+ local DB_SUPPORTED=(
+ 6 5 4 3 2
+ )
+ # 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
+ local dbdir="$(db_includedir "${DB_SUPPORTED[@]}" )"
+ local dbname="$(db_libname "${DB_SUPPORTED[@]}" )"
+ einfo "DB Include Dir: ${dbdir}"
+ einfo "DB library: ${dbname}"
+
+ rm -f "${S}/config.in" || die "Can't remove packaged config.in"
+
+ printf "INCLUDE = %s\nLIB = %s\nDBNAME = -l%s\n" \
+ "${dbdir}" \
+ "${EPREFIX}/usr/$(get_libdir)" \
+ "${dbname}" > "${S}"/config.in || die "Can't write config.in"
+
+ perl-module_src_prepare
+}
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+}
diff --git a/dev-perl/BerkeleyDB/Manifest b/dev-perl/BerkeleyDB/Manifest
index dcd56b075a50..6b67e6009616 100644
--- a/dev-perl/BerkeleyDB/Manifest
+++ b/dev-perl/BerkeleyDB/Manifest
@@ -3,5 +3,6 @@ DIST BerkeleyDB-0.55.tar.gz 203318 BLAKE2B 65118bacdb7b597a7f006a341916b21cd4b4d
DIST BerkeleyDB-0.63.tar.gz 208324 BLAKE2B e13f9e4a7993a09ff60378cf19c7baba925850b1996873727f7659787111a9b437b022653329e18e94dead7c29ff0da9ee79d3a67adf2afcc8cdaa02d689c127 SHA512 43edf4eb3650e7b03dfc45ead834ea766d458cf3bc9b6405646142ad0ab223bdb3267815be5a92ddbf3958e5507d39f193d749d9ff6fe83a3beb9e02e8f6c66b
EBUILD BerkeleyDB-0.550.0.ebuild 901 BLAKE2B 633d9261ab5561f4b8962d046d0dc4f4087f4cb66ad8e24c14ee006fd0c04b178872bfbdd79cc23192a83d1169f1f89b952a792b077ec2a7f614a9844030f802 SHA512 28d70f5d4e063196fbdb79fbab288cd877e9cb4c4b4dafdceb839d11adb0976ec146443ccb878470487cbd930a94007135e9abfec93b9125a46513bb98626495
EBUILD BerkeleyDB-0.630.0-r1.ebuild 1396 BLAKE2B 85c1f228efa7fdcfdb24641dba8d5963cfa568e6abd9ab67b9cb0ba6f198ea492c55e1296fa39008dd37d80855237b0439f352ca18a8c154191a97cabb3692f7 SHA512 f3c9e0467d04a1d9669b0abb0f64dcc08dbfdfb4464cd3a01af51413031d06c6b2a77e3e2994235615a8ceb30c637e87cd11a30b53857e9a27035b650024c9d9
+EBUILD BerkeleyDB-0.630.0-r2.ebuild 1425 BLAKE2B ed0886af6db5e5c68b16cc0438744cfb2908d77eb4780eb612f7f9b354d096fad1a0bde0dd030575886f9564afe0d2ba3067856eae733963c6196cd97ce68ee1 SHA512 aefd828b32f38f050ecb943809edf0854902b23d5be31be26fb3acf79b05419bdb3efec301957cec19a8047cb2aa42c8888951741f486a3b5e2dc93fce196c4d
EBUILD BerkeleyDB-0.630.0.ebuild 1271 BLAKE2B 36237e5ea36da63a93276c11539c6373fdb5c47c74de55cd96e564d924f80ca751c922cfaca235bc982edb00503e20e685f087e8136e0dfbc13eb02e5253aeac SHA512 dae88040999df12de3f663f92d0dfbeb2cf996ac6acdc0d49811b8226f5546dbd02b02a1456dd066c2ce9f55d4f9fbc722c858d7099f8fb2e03dc60ab59830ad
MISC metadata.xml 1362 BLAKE2B d0fb19001b5bb3b3bc83b14fe9a439c0cfb1a052e90e9a067f5074c6178cf84bacc95050fb40c848641c2756648286766896d2335f38ac4289a5926cbae0c90b SHA512 759622f9cd949c0c0ec377df39b072df1b0131692352a2090cff1c79f9a816e0593c80690bccbf37eef732ac2b7e024cfa9eea718994e9c8a6db86e16f5dd380