summaryrefslogtreecommitdiff
path: root/dev-cpp/sparsehash/sparsehash-2.0.4-r2.ebuild
blob: 8b170f5fd14a493e328f73f2a9b498dcdf7aaf43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="An extremely memory-efficient hash_map implementation"
HOMEPAGE="https://github.com/sparsehash/sparsehash"
SRC_URI="https://github.com/sparsehash/sparsehash/archive/${P}.tar.gz"
S="${WORKDIR}/${PN}-${P}"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"

PATCHES=(
	"${FILESDIR}/${PN}-2.0.3-fix-buildsystem.patch"
	"${FILESDIR}/${P}-c++20.patch"
)

src_prepare() {
	default
	eautoreconf
}