# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="libSigCX is an extension of libSigC++ providing type-safe cross-thread signal/slot support" HOMEPAGE="http://libsigcx.sourceforge.net/" SRC_URI="mirror://sourceforge/libsigcx/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="x86" IUSE="gtk2" DEPEND="dev-libs/libsigc++" src_compile() { local myconf if ! use gtk2; then myconf="${myconf} --without-gtk" fi econf ${myconf} || die "econf failed" emake || die } src_install() { dodir /usr/lib dodir /usr/include einstall || die "install failed" dodoc AUTHORS ChangeLog README INSTALL NEWS docinto examples dodoc examples/* docinto tests dodoc tests/* }