summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-29 00:13:14 +0100
committerSam James <sam@gentoo.org>2022-09-29 00:15:18 +0100
commitc2f60c35091ae72a7d6c6034afeeb7400da17551 (patch)
treec5736d7807f09c9442ba064074379918acd3f235 /dev-libs
parentnet-firewall/firewalld: add 1.2.1 (diff)
downloadgentoo-c2f60c35091ae72a7d6c6034afeeb7400da17551.tar.gz
gentoo-c2f60c35091ae72a7d6c6034afeeb7400da17551.tar.bz2
gentoo-c2f60c35091ae72a7d6c6034afeeb7400da17551.zip
dev-libs/libmaxminddb: add 1.7.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libmaxminddb/Manifest1
-rw-r--r--dev-libs/libmaxminddb/libmaxminddb-1.7.0.ebuild46
-rw-r--r--dev-libs/libmaxminddb/libmaxminddb-9999.ebuild8
3 files changed, 51 insertions, 4 deletions
diff --git a/dev-libs/libmaxminddb/Manifest b/dev-libs/libmaxminddb/Manifest
index 31ff0e0a0e91..8a05bc53f7b6 100644
--- a/dev-libs/libmaxminddb/Manifest
+++ b/dev-libs/libmaxminddb/Manifest
@@ -1,2 +1,3 @@
DIST libmaxminddb-1.5.2.tar.gz 604683 BLAKE2B 4dea7413be59169104adf3dc5dfe3e4f3bdb4639bbb4a0c6365d93216e279d505f01e32f737bf66d9f5b98f65f3eaefa46f630458bd6032a32be8c74acf12a1b SHA512 074ef6b62a74cede7be332eaeff5aa7442f43de92d39ea65b38430f0e1b65a5515f4343894ca5c28a7d50181eaec44e8db7083461b9e12e7014d2d1e0ff033b8
DIST libmaxminddb-1.6.0.tar.gz 605099 BLAKE2B 6868e42b8a166d75f6fa3a1da0fc2bd47a381ff960496ec9348b88c72b1bae180e3c0ce8989149e60d7d9c795d6baedb8e9d984098914064db985f2d201983c2 SHA512 9394e8dd959982d4ef5d15a928d32700722ed9d6c9988d9cc1bf2f4e67de0a53cc6987e90aaef3a6926c9ff36ac378f7a1fe47818fda4f5a3a22539210b2d004
+DIST libmaxminddb-1.7.0.tar.gz 609484 BLAKE2B 7210b32e591116d6e5b3127cde082aace3080ce6ce0182908eb3c85fe36ae574633d4b99ee1a19f770ed6bd2ebb6dc478c1d94f1d60c607ce76f34d71eefe74e SHA512 b1d6bf8dc3f5d3cc594f670c8a51100d7f032ce40d6e8a620b90133d1f27c668a7362146e7973cb0e3b84649ec60fe145e82e85b459dd50ae1e168e87d936109
diff --git a/dev-libs/libmaxminddb/libmaxminddb-1.7.0.ebuild b/dev-libs/libmaxminddb/libmaxminddb-1.7.0.ebuild
new file mode 100644
index 000000000000..0b83ce40a0f6
--- /dev/null
+++ b/dev-libs/libmaxminddb/libmaxminddb-1.7.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="C library for the MaxMind DB file format"
+HOMEPAGE="https://github.com/maxmind/libmaxminddb"
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/maxmind/libmaxminddb.git"
+ inherit autotools git-r3
+else
+ SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz"
+
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0/0.0.7"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-perl/IPC-Run3 )"
+
+DOCS=( Changes.md )
+
+src_prepare() {
+ default
+
+ if [[ ${PV} == *9999 ]] ; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ tc-export AR CC
+
+ default
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-libs/libmaxminddb/libmaxminddb-9999.ebuild b/dev-libs/libmaxminddb/libmaxminddb-9999.ebuild
index 2428e17f2542..0b83ce40a0f6 100644
--- a/dev-libs/libmaxminddb/libmaxminddb-9999.ebuild
+++ b/dev-libs/libmaxminddb/libmaxminddb-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]] ; then
else
SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="Apache-2.0"
@@ -36,7 +36,7 @@ src_prepare() {
src_configure() {
tc-export AR CC
- econf --disable-static
+ default
}
src_install() {