dev-libs/libdatrie - 0.2.14 (gentoo-zh)

Search

Package Information

Description:
Double-Array Trie Library
Homepage:
https://github.com/tlwg/libdatrie

Ebuild Details

Version EAPI Keywords Slot
0.2.14 7 ~amd64 ~arm ~arm64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="Double-Array Trie Library"
HOMEPAGE="https://github.com/tlwg/libdatrie"

if [[ ${PV} == "9999" ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/tlwg/${PN}.git"
else
	SRC_URI="https://github.com/tlwg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"

BDEPEND="dev-vcs/git"

src_prepare() {
	default
	# Fixed version if in non git project
	echo "${PV}" > VERSION
	# From upstreams autogen.sh, to make it utilize the autotools eclass
	# use eautoreconf from autotools.eclass instead of autogen.sh
	eautoreconf
}

Dependencies

BDEPEND

dev-vcs/git

Manifest for 0.2.14

Type File Size Source URLs
DIST libdatrie-0.2.14.tar.gz 118164 bytes https://github.com/tlwg/libdatrie/archive/v0.2.14.tar.gz