Diff univalue-1.0.5 with a univalue-9999
/usr/portage/dev-libs/univalue/univalue-9999.ebuild 2023-10-09 14:52:29.768368357 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
7 | 7 | |
8 | 8 |
DESCRIPTION="C++ universal value object and JSON library" |
9 | 9 |
HOMEPAGE="https://github.com/jgarzik/univalue" |
10 |
SRC_URI="https://codeload.github.com/jgarzik/${PN}/tar.gz/v${PV} -> ${P}.tgz" |
|
10 | ||
11 |
if [[ ${PV} == *9999 ]] ; then |
|
12 |
EGIT_REPO_URI="https://github.com/jgarzik/${PN}.git" |
|
13 |
inherit git-r3 |
|
14 |
else |
|
15 |
SRC_URI="https://codeload.github.com/jgarzik/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" |
|
16 |
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux" |
|
17 |
fi |
|
11 | 18 | |
12 | 19 |
LICENSE="MIT" |
13 |
SLOT="0" |
|
14 |
KEYWORDS="amd64 arm ~arm64 ~mips ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
|
20 |
SLOT="0/0" |
|
15 | 21 |
IUSE="" |
16 | 22 | |
17 | 23 |
src_prepare() { |