Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/univalue/
Date: Tue, 27 Nov 2018 17:28:23
Message-Id: 1543339687.ae36bdfc3dd2e202c667540d0576a3c89e82cf22.candrews@gentoo
1 commit: ae36bdfc3dd2e202c667540d0576a3c89e82cf22
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 27 16:47:38 2018 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 27 17:28:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae36bdfc
7
8 dev-libs/univalue: Add -9999 live version
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 dev-libs/univalue/univalue-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/dev-libs/univalue/univalue-9999.ebuild b/dev-libs/univalue/univalue-9999.ebuild
17 new file mode 100644
18 index 00000000000..989d23ce6cc
19 --- /dev/null
20 +++ b/dev-libs/univalue/univalue-9999.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools
28 +
29 +DESCRIPTION="C++ universal value object and JSON library"
30 +HOMEPAGE="https://github.com/jgarzik/univalue"
31 +
32 +if [[ ${PV} == *9999 ]] ; then
33 + EGIT_REPO_URI="https://github.com/jgarzik/${PN}.git"
34 + inherit git-r3
35 +else
36 + SRC_URI="https://codeload.github.com/jgarzik/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
37 + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
38 +fi
39 +
40 +LICENSE="MIT"
41 +SLOT="0/0"
42 +IUSE=""
43 +
44 +DEPEND=""
45 +RDEPEND="${DEPEND}"
46 +
47 +src_prepare() {
48 + default
49 + eautoreconf
50 +}
51 +
52 +src_configure() {
53 + econf --disable-static
54 +}
55 +
56 +src_install() {
57 + default
58 + find "${D}" -name '*.la' -delete || die
59 +}