dev-util/mmdbconvert - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-util/mmdbconvert-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/mmdbconvert-9999

Or alternatively:

emerge --autounmask-write -a =dev-util/mmdbconvert-9999

Package Information

Description:
A command-line tool to merge multiple MaxMind MMDB databases
Homepage:
https://github.com/maxmind/mmdbconvert
License:
Apache-2.0 MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 go-module

DESCRIPTION="A command-line tool to merge multiple MaxMind MMDB databases"
HOMEPAGE="https://github.com/maxmind/mmdbconvert"
EGIT_REPO_URI="https://github.com/maxmind/${PN}.git"

LICENSE="Apache-2.0 MIT"
SLOT="0"

BDEPEND=">=dev-lang/go-1.25.3"

DOCS=( {CHANGELOG,README}.md )

src_unpack() {
	git-r3_src_unpack
	go-module_live_vendor
}

src_compile() {
	LDFLAGS="-w -X main.version=${PV}"

	ego build -ldflags "${LDFLAGS}" ./cmd/mmdbconvert/...
}

src_test() {
	ego test -work ./...
}

src_install() {
	einstalldocs
	dobin mmdbconvert
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.25.3