summaryrefslogtreecommitdiff
blob: c028057e77341349e494f4f152355a12c618f5b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator

MY_PVM=$(get_version_component_range 1-2)

DESCRIPTION="Utility functions, classes and widgets written on top of gtkmm and glibmm."
HOMEPAGE="http://live.gnome.org/gtkmm_utils"
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${MY_PVM}/${P}.tar.bz2"
LICENSE="LGPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-cpp/gtkmm-2.10.0"
DEPEND="doc? ( app-doc/doxygen )
	dev-util/pkgconfig
	${RDEPEND}"

src_compile() {
	econf $(use_enable doc documentation)
	emake || die "emake failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
}