summaryrefslogtreecommitdiff
blob: 6077ab913c0a5f7ece19549c88637b76f4c78c84 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild,v 1.17 2005/05/18 12:07:22 corsair Exp $

inherit gnome2 eutils

DESCRIPTION="C++ bindings for libgnomeui"
HOMEPAGE="http://gtkmm.sourceforge.net/"
SRC_URI="mirror://sourceforge/gtkmm/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="1.0"
KEYWORDS="x86 ppc sparc hppa amd64 ppc64"
IUSE=""

RDEPEND=">=gnome-base/libgnomeui-2
	=dev-cpp/libgnomemm-2.0*
	=dev-cpp/libgnomecanvasmm-2.0*
	=dev-cpp/gconfmm-2.0*
	=dev-cpp/gtkmm-2.2*
	|| ( =dev-cpp/libglademm-2.2* =dev-cpp/libglademm-2.0* )"

DEPEND=">=dev-util/pkgconfig-0.12.0
	${RDEPEND}"

DOCS="AUTHORS ChangeLog NEWS INSTALL TODO"

src_unpack() {

	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-gcc2_fix.patch

}

src_compile() {
	if useq amd64 || useq ppc64; then
		aclocal -I scripts
		automake
		autoconf
		libtoolize --copy --force
	fi

	gnome2_src_compile
}