diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2012-02-26 19:29:12 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2012-02-26 19:29:12 +0000 |
commit | d77cfb20582dae0d50f569cbf488e785a6ccd396 (patch) | |
tree | 014c5f9717fee5e565f31e32d078fea18eb9e377 /dev-libs/ucommon | |
parent | Remove mask for fixed extundelete and some removed pkgs. (diff) | |
download | gentoo-2-d77cfb20582dae0d50f569cbf488e785a6ccd396.tar.gz gentoo-2-d77cfb20582dae0d50f569cbf488e785a6ccd396.tar.bz2 gentoo-2-d77cfb20582dae0d50f569cbf488e785a6ccd396.zip |
Add dev-libs/ucommon, bug #220597. Thanks to slepnoga
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/ucommon')
-rw-r--r-- | dev-libs/ucommon/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/ucommon/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/ucommon/files/disable_rtf_gen_doxy.patch | 18 | ||||
-rw-r--r-- | dev-libs/ucommon/metadata.xml | 17 | ||||
-rw-r--r-- | dev-libs/ucommon/ucommon-5.2.1.ebuild | 58 |
5 files changed, 107 insertions, 0 deletions
diff --git a/dev-libs/ucommon/ChangeLog b/dev-libs/ucommon/ChangeLog new file mode 100644 index 000000000000..6965829e1431 --- /dev/null +++ b/dev-libs/ucommon/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*ucommon-5.2.1 (26 Feb 2012) + + 26 Feb 2012; Maxim Koltsov <maksbotan@gentoo.org> + +files/disable_rtf_gen_doxy.patch, +metadata.xml, +ucommon-5.2.1.ebuild: + Add dev-libs/ucommon, bug #220597. Thanks to slepnoga + diff --git a/dev-libs/ucommon/Manifest b/dev-libs/ucommon/Manifest new file mode 100644 index 000000000000..9f946f83c581 --- /dev/null +++ b/dev-libs/ucommon/Manifest @@ -0,0 +1,4 @@ +AUX disable_rtf_gen_doxy.patch 446 RMD160 aa1fccb95b44977b2e63ebe6e4781d92869d390e SHA1 c19b0429570d43abf216f177737b5f4be0d5acad SHA256 19742ff3a149ca50d7397f9ffafc5c70fb332837e2eae81b914e47cf9e8b1f20 +DIST ucommon-5.2.1.tar.gz 785843 RMD160 95802b2d8b190b4a95f9a976597590441fca75da SHA1 3d41433896546137df8a3ab94b5ba6c938d98083 SHA256 b4630f4c9489420f10b9772508f05f9fb582de07470e98f1c21691e083f18823 +EBUILD ucommon-5.2.1.ebuild 1160 RMD160 f48cc22ce2efd10f1935f9814d1104c964298a20 SHA1 8826610137bf78007c593c6317b13a57439f6c32 SHA256 45296167318f5cf8a0e9dc618463e837d9a9b21c1b6b4c3730ebedcbf6ed8c1b +MISC metadata.xml 499 RMD160 595454df6b3d840ffc5b058a71e38c2d1b02f775 SHA1 6c22c5e028a1851e5d7435384b2db563bd789880 SHA256 7ecb2239abae6dabdb8cdb58bd89c3de5528abd72156c5c21f80260e73ff22da diff --git a/dev-libs/ucommon/files/disable_rtf_gen_doxy.patch b/dev-libs/ucommon/files/disable_rtf_gen_doxy.patch new file mode 100644 index 000000000000..2fca1f7bcad7 --- /dev/null +++ b/dev-libs/ucommon/files/disable_rtf_gen_doxy.patch @@ -0,0 +1,18 @@ +--- Doxyfile.orig 2010-03-14 04:33:22.303087693 +0200 ++++ Doxyfile 2010-03-14 04:34:34.495254330 +0200 +@@ -37,13 +37,13 @@ + GENERATE_HTMLHELP = YES + GENERATE_TREEVIEW = YES + TREEVIEW_WIDTH = 256 +-GENERATE_LATEX = YES ++GENERATE_LATEX = NO + COMPACT_LATEX = YES + PDF_HYPERLINKS = YES + USE_PDFLATEX = NO + LATEX_BATCHMODE = YES + LATEX_HIDE_INDICES = NO +-GENERATE_RTF = YES ++GENERATE_RTF = NO + COMPACT_RTF = YES + RTF_HYPERLINKS = NO + GENERATE_MAN = NO diff --git a/dev-libs/ucommon/metadata.xml b/dev-libs/ucommon/metadata.xml new file mode 100644 index 000000000000..2d0158f62f39 --- /dev/null +++ b/dev-libs/ucommon/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>andreis.vinogradovs@gmail.com</email> + <name>Andrei Vinogradov</name> +</maintainer> +<maintainer> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> +</maintainer> +<use> + <flag name='socks'>Build with socks proxy support</flag> + <flag name='ssl'>Build with openssl as crypt library</flag> +</use> +</pkgmetadata> diff --git a/dev-libs/ucommon/ucommon-5.2.1.ebuild b/dev-libs/ucommon/ucommon-5.2.1.ebuild new file mode 100644 index 000000000000..a3b5ce424e5f --- /dev/null +++ b/dev-libs/ucommon/ucommon-5.2.1.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.1.ebuild,v 1.1 2012/02/26 19:29:12 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 +} |