summaryrefslogtreecommitdiff
blob: 3e723d1d8374470044d6cb448ebd248dfaa9a54d (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild,v 1.6 2003/09/17 21:19:24 liquidx Exp $

inherit gcc

S=${WORKDIR}/${P}
DESCRIPTION="C++ binding for the GNOME libraries"
SRC_URI="mirror://sourceforge/gtkmm/${P}.tar.gz"
HOMEPAGE="http://gtkmm.sourceforge.net/"

IUSE=""
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="ppc x86 sparc alpha hppa"

RDEPEND="=dev-cpp/gtkmm-1.2*
	>=gnome-base/gnome-libs-1.4
	>=gnome-base/ORBit-0.5.11
	=sys-libs/db-1*"

DEPEND="${RDEPEND}"

src_unpack() {
	unpack ${A}
	# http://bugzilla.gnome.org/show_bug.cgi?id=121307 gcc 3.3.x (#27061)
	einfo "Applying ${FILESDIR}/${P}-gcc33.patch"
	cd ${S}; patch -p0 < ${FILESDIR}/${P}-gcc33.patch || die "patch failed"
}

src_compile() {
	econf
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS COPYING ChangeLog NEWS README* TODO
}