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/pugixml/
Date: Wed, 09 Jan 2019 00:17:33
Message-Id: 1546993036.dbd026854c2194db91db47b9ce489158bfc18ac4.candrews@gentoo
1 commit: dbd026854c2194db91db47b9ce489158bfc18ac4
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 8 21:32:37 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 9 00:17:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd02685
7
8 dev-libs/pugixml: Add -9999 live version
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 dev-libs/pugixml/pugixml-9999.ebuild | 27 +++++++++++++++++++++++++++
14 1 file changed, 27 insertions(+)
15
16 diff --git a/dev-libs/pugixml/pugixml-9999.ebuild b/dev-libs/pugixml/pugixml-9999.ebuild
17 new file mode 100644
18 index 00000000000..3cc627c8675
19 --- /dev/null
20 +++ b/dev-libs/pugixml/pugixml-9999.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit cmake-utils
28 +
29 +if [[ ${PV} == *9999 ]] ; then
30 + EGIT_REPO_URI="https://github.com/zeux/${PN}.git"
31 + inherit git-r3
32 +else
33 + SRC_URI="https://github.com/zeux/${PN}/releases/download/v${PV}/${P}.tar.gz"
34 + KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
35 +fi
36 +
37 +DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support"
38 +HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +
43 +src_configure() {
44 + local mycmakeargs=(
45 + -DBUILD_SHARED_LIBS=ON
46 + )
47 + cmake-utils_src_configure
48 +}