2022-12-12 00:42:49 -05:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-06-12 21:43:45 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-12-12 00:42:49 -05:00
|
|
|
EAPI=8
|
2021-06-12 21:43:45 -04:00
|
|
|
|
|
|
|
inherit cmake
|
|
|
|
|
2022-12-12 00:42:49 -05:00
|
|
|
if [[ ${PV} == 9999 ]]; then
|
2021-06-12 21:43:45 -04:00
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/repology/libversion.git"
|
2022-12-12 00:42:49 -05:00
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/repology/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
2021-06-12 21:43:45 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Advanced version string comparison library"
|
|
|
|
HOMEPAGE="https://github.com/repology/libversion"
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|