aboutsummaryrefslogtreecommitdiff
blob: 632817fe3a9d48a95f853ead7073612aa42ce7bf (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
26
27
28
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Formatted C++ stdlib man pages (cppreference)"
HOMEPAGE="https://github.com/jeaye/stdman https://cppreference.com"

if [[ ${PV} == 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/jeaye/stdman.git"
else
	KEYWORDS="~amd64"
	SRC_URI="https://github.com/jeaye/stdman/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi

LICENSE="CC-BY-SA-3.0 FDL-1.3 MIT"
SLOT="0"

src_prepare() {
	default
	# Avoid compressing files
	sed -i '/gzip/d' do_install || die
}

src_compile() {
	:
}