1 |
commit: 28696ec600bdd5add4e97624ae648d03ca671ed2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 18 13:01:14 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 18 13:29:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28696ec6 |
7 |
|
8 |
dev-libs/zthread: Drop old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/zthread/zthread-2.3.2-r3.ebuild | 65 -------------------------------- |
13 |
1 file changed, 65 deletions(-) |
14 |
|
15 |
diff --git a/dev-libs/zthread/zthread-2.3.2-r3.ebuild b/dev-libs/zthread/zthread-2.3.2-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index c45773dbced..00000000000 |
18 |
--- a/dev-libs/zthread/zthread-2.3.2-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,65 +0,0 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="5" |
25 |
- |
26 |
-inherit eutils autotools |
27 |
- |
28 |
-MY_P="ZThread-${PV}" |
29 |
- |
30 |
-DESCRIPTION="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 \ |
47 |
- "${FILESDIR}"/${P}-no-fpermissive.diff \ |
48 |
- "${FILESDIR}"/${P}-m4-quote.patch \ |
49 |
- "${FILESDIR}"/${P}-automake-r2.patch \ |
50 |
- "${FILESDIR}"/${P}-gcc47.patch |
51 |
- |
52 |
- sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #467778 |
53 |
- |
54 |
- AT_M4DIR="share" eautoreconf |
55 |
-} |
56 |
- |
57 |
-src_configure() { |
58 |
- local myconf |
59 |
- # Autoconf does not support --disable-debug properly. |
60 |
- use debug && myconf="--enable-debug" |
61 |
- |
62 |
- econf \ |
63 |
- $(use_enable kernel_linux atomic-linux) \ |
64 |
- $(use_enable static-libs static) \ |
65 |
- ${myconf} |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- default |
70 |
- |
71 |
- if use doc; then |
72 |
- doxygen doc/zthread.doxygen || die |
73 |
- sed -i -e 's|href="html/|href="|' doc/documentation.html || die |
74 |
- cp doc/documentation.html doc/html/index.html || die |
75 |
- cp doc/{zthread.css,bugs.js} doc/html/ || die |
76 |
- fi |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- default |
81 |
- |
82 |
- use doc && dohtml doc/html/* |
83 |
- |
84 |
- prune_libtool_files |
85 |
-} |