1 |
commit: c75e574ad8877c5c367129cc33838afdc1c6dcdb |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 19 19:24:31 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 19 19:24:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75e574a |
7 |
|
8 |
net-libs/wvstreams: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild | 104 --------------------------- |
13 |
1 file changed, 104 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index c819b3b2714..00000000000 |
18 |
--- a/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,104 +0,0 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=4 |
25 |
-inherit autotools eutils flag-o-matic toolchain-funcs versionator |
26 |
- |
27 |
-DESCRIPTION="A network programming library in C++" |
28 |
-HOMEPAGE="http://alumnit.ca/wiki/?WvStreams" |
29 |
-SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz" |
30 |
- |
31 |
-LICENSE="GPL-2" |
32 |
-SLOT="0" |
33 |
-KEYWORDS="alpha amd64 hppa ppc sparc x86" |
34 |
-IUSE="pam doc +ssl +dbus debug" |
35 |
- |
36 |
-#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL! |
37 |
-RESTRICT="test" |
38 |
- |
39 |
-#QA Fail: xplc is compiled as a part of wvstreams. |
40 |
-#It'll take a larger patching effort to get it extracted, since upstream integrated it |
41 |
-#more tightly this time. Probably for the better since upstream xplc seems dead. |
42 |
- |
43 |
-RDEPEND="sys-libs/readline |
44 |
- sys-libs/zlib |
45 |
- dbus? ( >=sys-apps/dbus-1.4.20 ) |
46 |
- dev-libs/openssl:0 |
47 |
- pam? ( sys-libs/pam )" |
48 |
-DEPEND="${RDEPEND} |
49 |
- || ( >=sys-devel/gcc-4.1 >=dev-libs/boost-1.34.0 ) |
50 |
- virtual/pkgconfig |
51 |
- doc? ( app-doc/doxygen )" |
52 |
- |
53 |
-DOCS="ChangeLog README*" |
54 |
- |
55 |
-pkg_setup() { |
56 |
- if has_version '>=sys-devel/gcc-4.1' && ! has_version '>=dev-libs/boost-1.34.1' |
57 |
- then |
58 |
- if ! version_is_at_least 4.1 "$(gcc-fullversion)" |
59 |
- then |
60 |
- eerror "This package requires the active gcc to be at least version 4.1" |
61 |
- eerror "or >=dev-libs/boost-1.34.1 must be installed." |
62 |
- die "Please activate >=sys-devel/gcc-4.1 with gcc-config." |
63 |
- fi |
64 |
- fi |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- epatch \ |
69 |
- "${FILESDIR}"/${P}-parallel-make.patch \ |
70 |
- "${FILESDIR}"/${P}-openssl-1.0.0.patch \ |
71 |
- "${FILESDIR}"/${P}-glibc212.patch \ |
72 |
- "${FILESDIR}"/${P}-gcc47.patch |
73 |
- |
74 |
- sed -i \ |
75 |
- -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \ |
76 |
- -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \ |
77 |
- configure.ac argp/configure.ac || die |
78 |
- |
79 |
- eautoreconf |
80 |
- pushd argp >/dev/null |
81 |
- eautoreconf |
82 |
- popd >/dev/null |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- append-flags -fno-strict-aliasing |
87 |
- append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375 |
88 |
- |
89 |
- tc-export CXX |
90 |
- |
91 |
- econf \ |
92 |
- --localstatedir=/var \ |
93 |
- $(use_enable debug) \ |
94 |
- --disable-optimization \ |
95 |
- $(use_with dbus) \ |
96 |
- --with-openssl \ |
97 |
- $(use_with pam) \ |
98 |
- --without-tcl \ |
99 |
- --without-qt \ |
100 |
- --with-zlib \ |
101 |
- --without-valgrind |
102 |
-} |
103 |
- |
104 |
-src_compile() { |
105 |
- default |
106 |
- |
107 |
- if use doc; then |
108 |
- doxygen || die |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-src_test() { |
113 |
- emake test |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- default |
118 |
- |
119 |
- if use doc; then |
120 |
- #the list of files is too big for dohtml -r Docs/doxy-html/* |
121 |
- cd Docs/doxy-html |
122 |
- dohtml -r * |
123 |
- fi |
124 |
-} |