1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils gnome2 flag-o-matic multilib-minimal
8 DESCRIPTION="Typesafe callback system for standard C++"
9 HOMEPAGE="http://libsigc.sourceforge.net/"
13 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"
14 IUSE="doc static-libs test"
18 # Needs mm-common for eautoreconf
21 # don't waste time building examples
22 sed -i 's|^\(SUBDIRS =.*\)examples\(.*\)$|\1\2|' \
23 Makefile.am Makefile.in || die "sed examples failed"
25 # don't waste time building tests unless USE=test
27 sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' \
28 Makefile.am Makefile.in || die "sed tests failed"
34 multilib_src_configure() {
35 filter-flags -fno-exceptions #84263
37 ECONF_SOURCE="${S}" gnome2_src_configure \
38 $(multilib_native_use_enable doc documentation) \
39 $(use_enable static-libs static)
42 multilib_src_install() {
46 multilib_src_install_all() {
49 # Note: html docs are installed into /usr/share/doc/libsigc++-2.0
50 # We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
52 insinto /usr/share/doc/${PF}