Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/
Date: Fri, 08 Jul 2016 12:37:19
Message-Id: 1467981411.41169f960485226b530b0b46dc1c55ea4ab7570f.sping@gentoo
1 commit: 41169f960485226b530b0b46dc1c55ea4ab7570f
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 8 12:36:51 2016 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 8 12:36:51 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41169f96
7
8 dev-libs/expat: Remove 2.1.1 (bug #583268)
9
10 Package-Manager: portage-2.2.28
11
12 dev-libs/expat/expat-2.1.1.ebuild | 88 ---------------------------------------
13 1 file changed, 88 deletions(-)
14
15 diff --git a/dev-libs/expat/expat-2.1.1.ebuild b/dev-libs/expat/expat-2.1.1.ebuild
16 deleted file mode 100644
17 index e373b86..0000000
18 --- a/dev-libs/expat/expat-2.1.1.ebuild
19 +++ /dev/null
20 @@ -1,88 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -inherit eutils libtool multilib toolchain-funcs multilib-minimal
27 -
28 -DESCRIPTION="Stream-oriented XML parser library"
29 -HOMEPAGE="http://expat.sourceforge.net/"
30 -SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2"
31 -
32 -LICENSE="MIT"
33 -SLOT="0"
34 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
35 -IUSE="elibc_FreeBSD examples static-libs unicode"
36 -RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6
37 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
38 -
39 -multilib_src_configure() {
40 - local myconf="$(use_enable static-libs static)"
41 -
42 - mkdir -p "${BUILD_DIR}"{u,w} || die
43 -
44 - ECONF_SOURCE="${S}" econf ${myconf}
45 -
46 - if use unicode; then
47 - pushd "${BUILD_DIR}"u >/dev/null
48 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
49 - popd >/dev/null
50 -
51 - pushd "${BUILD_DIR}"w >/dev/null
52 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
53 - popd >/dev/null
54 - fi
55 -}
56 -
57 -multilib_src_compile() {
58 - emake
59 -
60 - if use unicode; then
61 - pushd "${BUILD_DIR}"u >/dev/null
62 - emake buildlib LIBRARY=libexpatu.la
63 - popd >/dev/null
64 -
65 - pushd "${BUILD_DIR}"w >/dev/null
66 - emake buildlib LIBRARY=libexpatw.la
67 - popd >/dev/null
68 - fi
69 -}
70 -
71 -multilib_src_install() {
72 - emake install DESTDIR="${D}"
73 -
74 - if use unicode; then
75 - pushd "${BUILD_DIR}"u >/dev/null
76 - emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
77 - popd >/dev/null
78 -
79 - pushd "${BUILD_DIR}"w >/dev/null
80 - emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
81 - popd >/dev/null
82 -
83 - pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
84 - cp expat.pc expatu.pc
85 - sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
86 - cp expat.pc expatw.pc
87 - sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
88 - popd >/dev/null
89 - fi
90 -
91 - if multilib_is_native_abi ; then
92 - # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
93 - # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
94 - use elibc_FreeBSD && gen_usr_ldscript -a expat
95 - fi
96 -}
97 -
98 -multilib_src_install_all() {
99 - dodoc Changes README
100 - dohtml doc/*
101 -
102 - if use examples; then
103 - insinto /usr/share/doc/${PF}/examples
104 - doins examples/*.c
105 - fi
106 -
107 - prune_libtool_files
108 -}