Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/net6/
Date: Sat, 19 Dec 2015 16:18:23
Message-Id: 1450541789.1280dfcdbce73d31b95e612beb4f785527e9d2f3.pacho@gentoo
1 commit: 1280dfcdbce73d31b95e612beb4f785527e9d2f3
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 19 15:24:55 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 19 16:16:29 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1280dfcd
7
8 net-libs/net6: Fix building with latest glibmm/libsigc++
9
10 Package-Manager: portage-2.2.26
11
12 net-libs/net6/net6-1.3.14-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++++
13 1 file changed, 40 insertions(+)
14
15 diff --git a/net-libs/net6/net6-1.3.14-r1.ebuild b/net-libs/net6/net6-1.3.14-r1.ebuild
16 new file mode 100644
17 index 0000000..0b7fb4d
18 --- /dev/null
19 +++ b/net-libs/net6/net6-1.3.14-r1.ebuild
20 @@ -0,0 +1,40 @@
21 +# Copyright 1999-2014 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +inherit flag-o-matic multilib
27 +
28 +DESCRIPTION="Network access framework for IPv4/IPv6 written in C++"
29 +HOMEPAGE="http://gobby.0x539.de/"
30 +SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
31 +
32 +LICENSE="LGPL-2.1"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
35 +IUSE="nls static-libs"
36 +
37 +RDEPEND="dev-libs/libsigc++:2
38 + >=net-libs/gnutls-1.2.10"
39 +DEPEND="${RDEPEND}
40 + virtual/pkgconfig
41 + nls? ( sys-devel/gettext )"
42 +
43 +DOCS=( AUTHORS ChangeLog NEWS README )
44 +
45 +src_configure() {
46 + append-cxxflags -std=c++11
47 + econf $(use_enable nls) \
48 + $(use_enable static-libs static)
49 +}
50 +
51 +src_install() {
52 + default
53 + use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib${PN}.la
54 +}
55 +
56 +pkg_postinst() {
57 + elog "Please note that because of the use of C++ templates"
58 + elog "Gobby 0.4 has to be recompiled against the new ${PN}"
59 + elog "to pick up the changes."
60 +}