summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-05 23:25:10 +0000
committerSam James <sam@gentoo.org>2021-01-05 23:25:14 +0000
commit50fb072dd39033728f2b119a636c116a4816f518 (patch)
tree8528a4f0488c400893e945f2a00fb01ef902b7f5 /dev-libs/libmaxminddb
parentdev-util/git-delta: bump to 0.5.1 (diff)
downloadgentoo-50fb072dd39033728f2b119a636c116a4816f518.tar.gz
gentoo-50fb072dd39033728f2b119a636c116a4816f518.tar.bz2
gentoo-50fb072dd39033728f2b119a636c116a4816f518.zip
dev-libs/libmaxminddb: bump to 1.5.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmaxminddb')
-rw-r--r--dev-libs/libmaxminddb/Manifest2
-rw-r--r--dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/libmaxminddb/Manifest b/dev-libs/libmaxminddb/Manifest
index 36385f92cdc4..7e4e6a3fe44c 100644
--- a/dev-libs/libmaxminddb/Manifest
+++ b/dev-libs/libmaxminddb/Manifest
@@ -1 +1,3 @@
DIST libmaxminddb-1.4.3.tar.gz 602272 BLAKE2B 2974d7268201a906c1c478ee36d4ef61e5f7483fd4f91bfcc5bf92f5bc698e8dd9eef256cceeb8c3217054481827d6fbf075f479e76c6506cc1f31d707a7d9dd SHA512 7fd97678ea6ca41cc4530864276b0233acbb16208571dc4694902943b3aa7e97c683c5676ea3f2de948c67aebd083f5d073b9ae36b7e89059c17f797ffddf65e
+DIST libmaxminddb-1.5.0-test-data.tar.gz 244033 BLAKE2B b4d138ef8eb4b8eb78fcc42bf99eccb0336736ce27a8c639458b2f089d5fb6cbeb429860eae35333672ec7f9073db3843461f6470574035d9f7dc115e0ee3c26 SHA512 0c0773dde72e37955239e1f160ad22f60779e4752a10e0df0ab7697b7ca6df83547a85bc440e6643867055db0bbcbc9bbbf056e66fc688d24eb09ee1a1688c73
+DIST libmaxminddb-1.5.0.tar.gz 603923 BLAKE2B 07c18f759a2d437d95be513d6dc3aaddd5dcd6f7201fdd7eba0f035c5a3221344f1e5e44253c0efdc2690cfffc5cecdaa9befed8d69f6f0ebd33588b3805443d SHA512 68c769f247156869b84a8ad0f9deec3cb79d39c0a6b8f1458461c223b9cf9967dd9d697ff4e92ac28216ef9e9f5a94908e03f76a5f70ab17636b163c17d2d432
diff --git a/dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild b/dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild
new file mode 100644
index 000000000000..ef1cc58dee23
--- /dev/null
+++ b/dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+TEST_COMMIT="39431da7fb6834c0cbe0c70a81074e65299dece7"
+DESCRIPTION="C library for the MaxMind DB file format"
+HOMEPAGE="https://github.com/maxmind/libmaxminddb"
+SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz"
+SRC_URI+=" test? ( https://github.com/maxmind/MaxMind-DB/archive/${TEST_COMMIT}.tar.gz -> ${P}-test-data.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0/0.0.7"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="test"
+# Out of date test data shipped
+RESTRICT="test"
+
+DOCS=( Changes.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+ -DBUILD_TESTING=$(usex test)
+ )
+
+ cmake_src_configure
+}