mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
dev-libs/libdatrie: add 0.2.14, drop 0.2.13-r2
Closes: https://bugs.gentoo.org/932264 Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
41
dev-libs/libdatrie/libdatrie-0.2.14.ebuild
Normal file
41
dev-libs/libdatrie/libdatrie-0.2.14.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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}/releases/download/v${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="doc? ( app-text/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Fixed version if in non git project
|
||||
echo ${PV} > VERSION
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable doc doxygen-doc) \
|
||||
--with-html-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user