summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-05-01 18:34:19 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-05-01 20:10:13 +0200
commit99a08746386eb2ef9bf18778cb23e2ffe41189e4 (patch)
treeeb5d078c7812b18a6aaa23368d8986684b738bf0 /dev-perl/CDB_File
parentdev-perl/CBOR-XS: Version bump 1.83 (diff)
downloadgentoo-99a08746386eb2ef9bf18778cb23e2ffe41189e4.tar.gz
gentoo-99a08746386eb2ef9bf18778cb23e2ffe41189e4.tar.bz2
gentoo-99a08746386eb2ef9bf18778cb23e2ffe41189e4.zip
dev-perl/CDB_File: Version bump 1.05
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/CDB_File')
-rw-r--r--dev-perl/CDB_File/CDB_File-1.50.0.ebuild43
-rw-r--r--dev-perl/CDB_File/Manifest1
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-perl/CDB_File/CDB_File-1.50.0.ebuild b/dev-perl/CDB_File/CDB_File-1.50.0.ebuild
new file mode 100644
index 000000000000..98e9fab12458
--- /dev/null
+++ b/dev-perl/CDB_File/CDB_File-1.50.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=TODDR
+DIST_VERSION=1.05
+DIST_EXAMPLES=("examples/*")
+inherit perl-module
+
+DESCRIPTION="Perl extension for access to cdb databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ dev-perl/B-COW
+ virtual/perl-File-Temp
+ virtual/perl-Test-Simple
+ )
+"
+
+# Parallel breaks
+DIST_TEST="do"
+
+src_prepare() {
+ mkdir "${S}/examples" || die "Can't make examples dir"
+ einfo "Moving bun-x.pl to examples/"
+ cp "${S}/bun-x.pl" "${S}/examples/" || die "Can't copy example to examples/"
+ perl_rm_files bun-x.pl
+ perl-module_src_prepare
+}
+
+src_compile() {
+ mymake=(
+ "OPTIMIZE=${CFLAGS}"
+ )
+ perl-module_src_compile
+}
diff --git a/dev-perl/CDB_File/Manifest b/dev-perl/CDB_File/Manifest
index 57666b2ec660..d2892bed3448 100644
--- a/dev-perl/CDB_File/Manifest
+++ b/dev-perl/CDB_File/Manifest
@@ -1 +1,2 @@
DIST CDB_File-1.02.tar.gz 61980 BLAKE2B 435071c501d6b72e077717adce1ed612fc06c6e287382c3beefe34387fe694ae155169a9c45ed84251a8a96bfba00fc6267279f67e0911d594e91b1e8bed66d1 SHA512 301be6f63bb65434bdd93503394514d828be83a1028a3e75b77ca4977c4c1c806c209f338ab2949caaa7c55cab9c263096674f265bc7555385da7e778640faa6
+DIST CDB_File-1.05.tar.gz 138550 BLAKE2B 57b17b59bce907265b3eceb0957adf8790ea21a1b837fca99e9854284ea185ffcb80511f2ec9909db47425a6bde22d9a07bdfb40fdd02b84d816b2c224d56fc0 SHA512 e2612f52ea4c420b73af33b1ee6189967cb69076b4e816aa51987cb724908a768435429eba65e4aca641512bdea355a76663991da542a14a6300f03ce2d488f7