summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/wvstreams')
-rw-r--r--net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild104
1 files changed, 0 insertions, 104 deletions
diff --git a/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild b/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild
deleted file mode 100644
index c819b3b27142..000000000000
--- a/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit autotools eutils flag-o-matic toolchain-funcs versionator
-
-DESCRIPTION="A network programming library in C++"
-HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
-SRC_URI="https://wvstreams.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc sparc x86"
-IUSE="pam doc +ssl +dbus debug"
-
-#Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
-RESTRICT="test"
-
-#QA Fail: xplc is compiled as a part of wvstreams.
-#It'll take a larger patching effort to get it extracted, since upstream integrated it
-#more tightly this time. Probably for the better since upstream xplc seems dead.
-
-RDEPEND="sys-libs/readline
- sys-libs/zlib
- dbus? ( >=sys-apps/dbus-1.4.20 )
- dev-libs/openssl:0
- pam? ( sys-libs/pam )"
-DEPEND="${RDEPEND}
- || ( >=sys-devel/gcc-4.1 >=dev-libs/boost-1.34.0 )
- virtual/pkgconfig
- doc? ( app-doc/doxygen )"
-
-DOCS="ChangeLog README*"
-
-pkg_setup() {
- if has_version '>=sys-devel/gcc-4.1' && ! has_version '>=dev-libs/boost-1.34.1'
- then
- if ! version_is_at_least 4.1 "$(gcc-fullversion)"
- then
- eerror "This package requires the active gcc to be at least version 4.1"
- eerror "or >=dev-libs/boost-1.34.1 must be installed."
- die "Please activate >=sys-devel/gcc-4.1 with gcc-config."
- fi
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-parallel-make.patch \
- "${FILESDIR}"/${P}-openssl-1.0.0.patch \
- "${FILESDIR}"/${P}-glibc212.patch \
- "${FILESDIR}"/${P}-gcc47.patch
-
- sed -i \
- -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
- -e 's:AM_PROG_CC_STDC:AC_PROG_CC:' \
- configure.ac argp/configure.ac || die
-
- eautoreconf
- pushd argp >/dev/null
- eautoreconf
- popd >/dev/null
-}
-
-src_configure() {
- append-flags -fno-strict-aliasing
- append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
-
- tc-export CXX
-
- econf \
- --localstatedir=/var \
- $(use_enable debug) \
- --disable-optimization \
- $(use_with dbus) \
- --with-openssl \
- $(use_with pam) \
- --without-tcl \
- --without-qt \
- --with-zlib \
- --without-valgrind
-}
-
-src_compile() {
- default
-
- if use doc; then
- doxygen || die
- fi
-}
-
-src_test() {
- emake test
-}
-
-src_install() {
- default
-
- if use doc; then
- #the list of files is too big for dohtml -r Docs/doxy-html/*
- cd Docs/doxy-html
- dohtml -r *
- fi
-}