blob: 5997c31f8ad88e086ae0f66d52c1d63c00393486 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/glademm/glademm-0.6.4.ebuild,v 1.5 2003/02/13 11:52:55 vapier Exp $
DESCRIPTION="A C++ backend for glade, the GUI designer for Gtk."
HOMEPAGE="http://home.wtal.de/petig/Gtk/"
SRC_URI="http://distro.ibiblio.org/pub/linux/distributions/sorcerer/sources/${P}b.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "
DEPEND=">=dev-util/glade-0.6.4
=x11-libs/gtk+-1.2*
>=x11-libs/gtkmm-1.2.5-r1
>=gnome-extra/gnomemm-1.2.0-r1"
S=${WORKDIR}/${P}b
src_unpack() {
unpack ${A}
#Fix to compile with gcc-3's C++ ABI
if [ "`gcc --version | cut -f1 -d.`" == "3" ] ||
([ -n "${CXX}" ] && [ "`${CXX} --version | cut -f1 -d.`" == "3" ]) ||
[ "`gcc --version|grep gcc|cut -f1 -d.|cut -f3 -d\ `" == "3" ]
then
cd ${WORKDIR}
# Fix supplied by "Nicholas Wourms" <nwourms@netscape.net>
patch -p0 < ${FILESDIR}/glademm-0.6.4b-gcc3.patch || die
fi
}
src_compile() {
econf
emake || die
}
src_install() {
einstall
dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO
dodoc docs/*.txt docs/glade.wishlist
dohtml -r docs
}
|