Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/zthread/
Date: Tue, 31 Oct 2017 16:43:19
Message-Id: 1509468189.d22581a4a7d5d2aae357bddc0e85665911f5ef84.dilfridge@gentoo
1 commit: d22581a4a7d5d2aae357bddc0e85665911f5ef84
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 31 16:43:09 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 31 16:43:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d22581a4
7
8 dev-libs/zthread: Remove old
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 dev-libs/zthread/zthread-2.3.2-r1.ebuild | 58 ------------------------------
13 dev-libs/zthread/zthread-2.3.2-r2.ebuild | 62 --------------------------------
14 2 files changed, 120 deletions(-)
15
16 diff --git a/dev-libs/zthread/zthread-2.3.2-r1.ebuild b/dev-libs/zthread/zthread-2.3.2-r1.ebuild
17 deleted file mode 100644
18 index b80a5aca575..00000000000
19 --- a/dev-libs/zthread/zthread-2.3.2-r1.ebuild
20 +++ /dev/null
21 @@ -1,58 +0,0 @@
22 -# Copyright 1999-2011 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=2
26 -inherit eutils autotools
27 -
28 -MY_P=ZThread-${PV}
29 -
30 -DESCRIPTION="A platform-independent multi-threading and synchronization library for C++"
31 -HOMEPAGE="http://zthread.sourceforge.net/"
32 -SRC_URI="mirror://sourceforge/zthread/${MY_P}.tar.gz"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="alpha amd64 ~hppa ~mips ppc sparc x86"
37 -IUSE="debug doc kernel_linux static-libs"
38 -
39 -DEPEND="doc? ( app-doc/doxygen )"
40 -RDEPEND=""
41 -
42 -S=${WORKDIR}/${MY_P}
43 -
44 -src_prepare() {
45 - rm -f include/zthread/{.Barrier.h.swp,Barrier.h.orig} || die
46 - epatch "${FILESDIR}"/${P}-no-fpermissive.diff
47 -
48 - AT_M4DIR="share" eautoreconf
49 -}
50 -
51 -src_configure() {
52 - local myconf
53 - use debug && myconf="--enable-debug"
54 -
55 - econf \
56 - $(use_enable kernel_linux atomic-linux) \
57 - $(use_enable static-libs static) \
58 - ${myconf}
59 -}
60 -
61 -src_compile() {
62 - emake || die
63 -
64 - if use doc; then
65 - doxygen doc/zthread.doxygen || die
66 - cp doc/documentation.html doc/html/index.html || die
67 - cp doc/zthread.css doc/html/zthread.css || die
68 - cp doc/bugs.js doc/html/bugs.js || die
69 - fi
70 -}
71 -
72 -src_install() {
73 - einstall || die
74 -
75 - dodoc AUTHORS ChangeLog NEWS README TODO
76 - use doc && dohtml doc/html/*
77 -
78 - find "${D}" -name '*.la' -delete
79 -}
80
81 diff --git a/dev-libs/zthread/zthread-2.3.2-r2.ebuild b/dev-libs/zthread/zthread-2.3.2-r2.ebuild
82 deleted file mode 100644
83 index d59acb7085f..00000000000
84 --- a/dev-libs/zthread/zthread-2.3.2-r2.ebuild
85 +++ /dev/null
86 @@ -1,62 +0,0 @@
87 -# Copyright 1999-2012 Gentoo Foundation
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI="4"
91 -
92 -inherit eutils autotools
93 -
94 -MY_P=ZThread-${PV}
95 -DESCRIPTION="platform-independent multi-threading and synchronization library for C++"
96 -HOMEPAGE="http://zthread.sourceforge.net/"
97 -SRC_URI="mirror://sourceforge/zthread/${MY_P}.tar.gz"
98 -
99 -LICENSE="MIT"
100 -SLOT="0"
101 -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
102 -IUSE="debug doc kernel_linux static-libs"
103 -
104 -DEPEND="doc? ( app-doc/doxygen )"
105 -RDEPEND=""
106 -
107 -S=${WORKDIR}/${MY_P}
108 -
109 -src_prepare() {
110 - rm -f include/zthread/{.Barrier.h.swp,Barrier.h.orig} || die
111 - epatch "${FILESDIR}"/${P}-no-fpermissive.diff
112 - epatch "${FILESDIR}"/${P}-m4-quote.patch
113 - epatch "${FILESDIR}"/${P}-automake.patch
114 - epatch "${FILESDIR}"/${P}-gcc47.patch
115 -
116 - AT_M4DIR="share" eautoreconf
117 -}
118 -
119 -src_configure() {
120 - local myconf
121 - # Autoconf does not support --disable-debug properly.
122 - use debug && myconf="--enable-debug"
123 -
124 - econf \
125 - $(use_enable kernel_linux atomic-linux) \
126 - $(use_enable static-libs static) \
127 - ${myconf}
128 -}
129 -
130 -src_compile() {
131 - emake
132 -
133 - if use doc; then
134 - doxygen doc/zthread.doxygen || die
135 - cp doc/documentation.html doc/html/index.html || die
136 - cp doc/zthread.css doc/html/zthread.css || die
137 - cp doc/bugs.js doc/html/bugs.js || die
138 - fi
139 -}
140 -
141 -src_install() {
142 - emake install DESTDIR="${ED}"
143 -
144 - dodoc AUTHORS ChangeLog NEWS README TODO
145 - use doc && dohtml doc/html/*
146 -
147 - use static-libs || find "${ED}" -name '*.la' -delete
148 -}