Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tinyxml/
Date: Sun, 26 Jan 2020 14:27:27
Message-Id: 1580048827.a1ff7d26aa8a9108614540280696a7697a392424.soap@gentoo
1 commit: a1ff7d26aa8a9108614540280696a7697a392424
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 26 14:27:07 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 26 14:27:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ff7d26
7
8 dev-libs/tinyxml: Remove old 2.6.2-r2
9
10 Package-Manager: Portage-2.3.85, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild | 52 --------------------------------
14 1 file changed, 52 deletions(-)
15
16 diff --git a/dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild b/dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild
17 deleted file mode 100644
18 index a2ea37056cd..00000000000
19 --- a/dev-libs/tinyxml/tinyxml-2.6.2-r2.ebuild
20 +++ /dev/null
21 @@ -1,52 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=4
26 -inherit flag-o-matic toolchain-funcs eutils multilib versionator
27 -
28 -DESCRIPTION="Simple and small C++ XML parser"
29 -HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
30 -SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV//./_}.tar.gz"
31 -
32 -LICENSE="ZLIB"
33 -SLOT="0"
34 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x64-macos ~x86-macos"
35 -IUSE="debug doc static-libs +stl"
36 -
37 -RDEPEND=""
38 -DEPEND="doc? ( app-doc/doxygen )"
39 -
40 -S="${WORKDIR}/${PN}"
41 -
42 -src_prepare() {
43 - local major_v=$(get_major_version)
44 - local minor_v=$(get_version_component_range 2-3)
45 -
46 - sed -e "s:@MAJOR_V@:$major_v:" \
47 - -e "s:@MINOR_V@:$minor_v:" \
48 - "${FILESDIR}"/Makefile-3 > Makefile || die
49 -
50 - epatch "${FILESDIR}"/${PN}-2.6.1-entity.patch
51 -
52 - use debug && append-cppflags -DDEBUG
53 - use stl && epatch "${FILESDIR}"/${P}-defineSTL.patch
54 -
55 - if ! use static-libs; then
56 - sed -e "/^all:/s/\$(name).a //" -i Makefile || die
57 - fi
58 -
59 - tc-export AR CXX RANLIB
60 -
61 - [[ ${CHOST} == *-darwin* ]] && export LIBDIR="${EPREFIX}"/usr/$(get_libdir)
62 -}
63 -
64 -src_install() {
65 - dolib.so *$(get_libname)*
66 -
67 - insinto /usr/include
68 - doins *.h
69 -
70 - dodoc {changes,readme}.txt
71 -
72 - use doc && dohtml -r docs/*
73 -}