| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/c++-gtk-utils/c++-gtk-utils-2.0.9.ebuild,v 1.2 2012/06/28 08:10:34 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
DESCRIPTION="A library containing a number of classes and functions for programming GTK+ programs using C++"
|
| 8 |
HOMEPAGE="http://cxx-gtk-utils.sourceforge.net/"
|
| 9 |
SRC_URI="mirror://sourceforge/${PN/++/xx}/${P}.tar.gz"
|
| 10 |
|
| 11 |
LICENSE="LGPL-2.1"
|
| 12 |
SLOT="3"
|
| 13 |
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
| 14 |
IUSE="nls static-libs"
|
| 15 |
|
| 16 |
RDEPEND=">=dev-libs/glib-2.26
|
| 17 |
x11-libs/gtk+:3"
|
| 18 |
DEPEND="${RDEPEND}
|
| 19 |
virtual/pkgconfig
|
| 20 |
nls? ( sys-devel/gettext )"
|
| 21 |
|
| 22 |
DOCS="ChangeLog"
|
| 23 |
|
| 24 |
src_configure() {
|
| 25 |
econf \
|
| 26 |
--docdir=/usr/share/doc/${PF} \
|
| 27 |
--htmldir=/usr/share/doc/${PF}/html \
|
| 28 |
$(use_enable static-libs static) \
|
| 29 |
$(use_enable nls)
|
| 30 |
}
|
| 31 |
|
| 32 |
src_install() {
|
| 33 |
default
|
| 34 |
rm -f "${ED}"/usr/lib*/lib*.la
|
| 35 |
}
|