1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit eutils gnome2 flag-o-matic multilib-minimal
10 DESCRIPTION="Typesafe callback system for standard C++"
11 HOMEPAGE="http://libsigc.sourceforge.net/"
15 KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
16 IUSE="doc static-libs test"
20 # Needs mm-common for eautoreconf
23 # don't waste time building examples
24 sed -i 's|^\(SUBDIRS =.*\)examples\(.*\)$|\1\2|' \
25 Makefile.am Makefile.in || die "sed examples failed"
27 # don't waste time building tests unless USE=test
29 sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' \
30 Makefile.am Makefile.in || die "sed tests failed"
36 multilib_src_configure() {
37 filter-flags -fno-exceptions #84263
39 ECONF_SOURCE="${S}" gnome2_src_configure \
40 $(multilib_native_use_enable doc documentation) \
41 $(use_enable static-libs static)
44 multilib_src_install() {
48 multilib_src_install_all() {
51 # Note: html docs are installed into /usr/share/doc/libsigc++-2.0
52 # We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
54 insinto /usr/share/doc/${PF}