dev-util/kcov: add 9999 ebuild
authorAustin English <wizardedit@gentoo.org>
Thu, 26 Jan 2017 18:57:05 +0000 (12:57 -0600)
committerAustin English <wizardedit@gentoo.org>
Thu, 26 Jan 2017 19:01:19 +0000 (13:01 -0600)
Package-Manager: Portage-2.3.2, Repoman-2.3.1

dev-util/kcov/kcov-9999.ebuild [new file with mode: 0644]

diff --git a/dev-util/kcov/kcov-9999.ebuild b/dev-util/kcov/kcov-9999.ebuild
new file mode 100644 (file)
index 0000000..b4cf68c
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Kcov is a code coverage tester for compiled languages, Python and Bash"
+HOMEPAGE="https://github.com/SimonKagstrom/kcov"
+LICENSE="GPL-2"
+SLOT="0"
+
+if [ "${PV}" -eq 9999 ]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/SimonKagstrom/${PN}.git"
+       KEYWORDS=""
+else
+       SRC_URI="https://github.com/SimonKagstrom/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+RDEPEND="
+       dev-libs/elfutils
+       net-misc/curl
+       sys-devel/binutils:*
+       sys-libs/zlib"
+DEPEND="${RDEPEND}"