diff options
Diffstat (limited to 'dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild')
-rw-r--r-- | dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild b/dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild new file mode 100644 index 000000000000..5f9a2e0dc21a --- /dev/null +++ b/dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtkmm/gtkmm-1.2.9-r2.ebuild,v 1.1 2003/07/12 17:38:27 foser Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="C++ interface for GTK+" +SRC_URI="http://download.sourceforge.net/gtkmm/${P}.tar.gz" +# ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz +# http://ftp.gnome.org/pub/GNOME/stable/sources/gtk+/${P}.tar.gz" +HOMEPAGE="http://gtkmm.sourceforge.net/" + +SLOT="1.2" +LICENSE="GPL-2" +KEYWORDS="x86 ppc sparc " + +DEPEND="=x11-libs/gtk+-1.2* + =dev-libs/libsigc++-1.0*" + +src_unpack() { + unpack ${A} + + # this patch applies only to gtkmm-1.2.9. gtkmm has been fixed + # in CVS. It fixes a build problem with gcc3.1. + # (http://marc.theaimsgroup.com/?l=gtkmm&m=101879848701486&w=2) + patch -p0 <${FILESDIR}/gtkmm-1.2.9-gcc3.1-gentoo.patch +} + +src_compile() { + + local myconf + + if [ "${DEBUG}" ] + then + myconf="--enable-debug=yes" + else + myconf="--enable-debug=no" + fi + + econf \ + --sysconfdir=/etc/X11 \ + --with-xinput=xfree \ + --with-x \ + ${myconf} || die + + make || die +} + +src_install() { + + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog NEWS README TODO +} |