diff options
author | D.M.D. Ljungmark <spider@gentoo.org> | 2002-10-04 11:21:28 +0000 |
---|---|---|
committer | D.M.D. Ljungmark <spider@gentoo.org> | 2002-10-04 11:21:28 +0000 |
commit | 43adab763280f5dc43fe78ba3db30f76cceec062 (patch) | |
tree | 8f91b7bd9048004b06e6a19db657323284a8d928 /dev-util/glademm/glademm-0.6.4.ebuild | |
parent | new version. fixes #8127, #8121. masked until the freeze is over. (diff) | |
download | historical-43adab763280f5dc43fe78ba3db30f76cceec062.tar.gz historical-43adab763280f5dc43fe78ba3db30f76cceec062.tar.bz2 historical-43adab763280f5dc43fe78ba3db30f76cceec062.zip |
updated with a gcc3 fix
Diffstat (limited to 'dev-util/glademm/glademm-0.6.4.ebuild')
-rw-r--r-- | dev-util/glademm/glademm-0.6.4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/glademm/glademm-0.6.4.ebuild b/dev-util/glademm/glademm-0.6.4.ebuild new file mode 100644 index 000000000000..c3d4f4cb22a9 --- /dev/null +++ b/dev-util/glademm/glademm-0.6.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2002 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.1 2002/10/04 11:21:28 spider Exp $ + +S=${WORKDIR}/${P}b +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 sparc64" + +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" + +RDEPEND=${DEPEND} + +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 + cd ${S} +} +src_compile() { + econf || die + emake || die +} + +src_install () { + + einstall || die + dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO + dodoc docs/*.txt docs/glade.wishlist + dohtml -r docs +} |