summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-04-08 18:30:38 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-04-08 18:30:38 +0000
commit159959200bb096e6f0afee40ebf2bbcaee12c1df (patch)
treedadcfc0a255caa60f70f50e597b7fe89c98f233a /dev-libs/ucommon
parentCleanup old versions, bump to 1.16.15 and 1.17.26, thanks to slepnoga (diff)
downloadgentoo-2-159959200bb096e6f0afee40ebf2bbcaee12c1df.tar.gz
gentoo-2-159959200bb096e6f0afee40ebf2bbcaee12c1df.tar.bz2
gentoo-2-159959200bb096e6f0afee40ebf2bbcaee12c1df.zip
Bump to 5.2.2, thanks to slepnoga
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/ucommon')
-rw-r--r--dev-libs/ucommon/ChangeLog7
-rw-r--r--dev-libs/ucommon/ucommon-5.2.2.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-libs/ucommon/ChangeLog b/dev-libs/ucommon/ChangeLog
index 6965829e1431..88e6c403b08b 100644
--- a/dev-libs/ucommon/ChangeLog
+++ b/dev-libs/ucommon/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/ucommon
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ChangeLog,v 1.1 2012/02/26 19:29:12 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ChangeLog,v 1.2 2012/04/08 18:30:38 maksbotan Exp $
+
+*ucommon-5.2.2 (08 Apr 2012)
+
+ 08 Apr 2012; Maxim Koltsov <maksbotan@gentoo.org> +ucommon-5.2.2.ebuild:
+ Bump to 5.2.2, thanks to slepnoga
*ucommon-5.2.1 (26 Feb 2012)
diff --git a/dev-libs/ucommon/ucommon-5.2.2.ebuild b/dev-libs/ucommon/ucommon-5.2.2.ebuild
new file mode 100644
index 000000000000..e3e0895edcfc
--- /dev/null
+++ b/dev-libs/ucommon/ucommon-5.2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ucommon/ucommon-5.2.2.ebuild,v 1.1 2012/04/08 18:30:38 maksbotan Exp $
+
+EAPI="4"
+
+inherit autotools-utils
+
+DESCRIPTION="Portable C++ runtime for threads and sockets"
+HOMEPAGE="http://www.gnu.org/software/commoncpp"
+SRC_URI="mirror://gnu/commoncpp/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="doc static-libs socks +cxx debug ssl gnutls"
+
+RDEPEND="ssl? ( dev-libs/openssl )"
+
+DEPEND="dev-util/pkgconfig
+ doc? ( app-doc/doxygen )
+ ${RDEPEND}"
+
+DOCS=(README NEWS SUPPORT ChangeLog AUTHORS)
+PATCHES=( "${FILESDIR}"/disable_rtf_gen_doxy.patch )
+
+src_configure() {
+ local myconf=""
+ if ! use ssl && ! use gnutls; then
+ myconf=" --with-sslstack=nossl "
+ fi
+
+ if use ssl; then
+ myconf=" --with-sslstack=ssl "
+ fi
+
+ local myeconfargs=(
+ $(use_enable socks)
+ $(use_enable cxx stdcpp)
+ ${myconf}
+ --enable-atomics
+ --with-pkg-config
+ --enable-posix-timers
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+ use doc && autotools-utils_src_compile doxy
+}
+
+src_install() {
+ autotools-utils_src_install
+ if use doc; then
+ dohtml doc/html/*
+ fi
+}