diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-10-16 14:43:39 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-10-16 14:43:39 +0000 |
commit | 46183727f39e1941a2c867f2f9ed1f98007d0ef2 (patch) | |
tree | cfc7305abfd82c560646d1ce3b692fc02ecfea12 /dev-lisp | |
parent | Fixes #31278. (diff) | |
download | gentoo-2-46183727f39e1941a2c867f2f9ed1f98007d0ef2.tar.gz gentoo-2-46183727f39e1941a2c867f2f9ed1f98007d0ef2.tar.bz2 gentoo-2-46183727f39e1941a2c867f2f9ed1f98007d0ef2.zip |
Fixes #31278.
Diffstat (limited to 'dev-lisp')
-rw-r--r-- | dev-lisp/gauche-gtk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/Manifest | 4 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3.1 | 1 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/gauche-gtk-0.3.1.ebuild | 74 |
4 files changed, 86 insertions, 3 deletions
diff --git a/dev-lisp/gauche-gtk/ChangeLog b/dev-lisp/gauche-gtk/ChangeLog index 71aa1a7136fb..0da116ee313a 100644 --- a/dev-lisp/gauche-gtk/ChangeLog +++ b/dev-lisp/gauche-gtk/ChangeLog @@ -1,7 +1,15 @@ # ChangeLog for dev-lisp/gauche-gtk # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/ChangeLog,v 1.1 2003/10/05 17:38:10 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/ChangeLog,v 1.2 2003/10/16 14:43:33 karltk Exp $ +*gauche-gtk-0.3.1 (16 Oct 2003) + + 16 Oct 2003; Karl Trygve Kalleberg <karltk@gentoo.org> + gauche-gtk-0.3.1.ebuild: + New upstream version. Ebuild submitted by Hattya <hattya@inter7.jp>. + Fixes #31278. + + *gauche-gtk-0.3 (05 Oct 2003) 05 Oct 2003; Karl Trygve Kalleberg <karltk@gentoo.org> gauche-gtk-0.3.ebuild: diff --git a/dev-lisp/gauche-gtk/Manifest b/dev-lisp/gauche-gtk/Manifest index 1b05612304d1..0e0009d09489 100644 --- a/dev-lisp/gauche-gtk/Manifest +++ b/dev-lisp/gauche-gtk/Manifest @@ -1,7 +1,7 @@ MD5 a64078c28096fa700b6835f2811d1a96 gauche-gtk-0.3.ebuild 1398 -MD5 dec8ef9181f4960a41fa3b8178feecdd ChangeLog 624 +MD5 0769be1e2fc82486bd83ab2ba18bb0c4 ChangeLog 624 MD5 775144440baf16a41d95240fa7288506 metadata.xml 412 -MD5 c7179965e429b78d342275d302e1b8e9 gauche-gtk-0.3.1.ebuild 1246 +MD5 1e3940cdf49b16033c5342dbc5e90c0a gauche-gtk-0.3.1.ebuild 1352 MD5 2060b4408fb84f400ba4961c53e54b1c files/gauche-gtk-0.3-gentoo.diff 2109 MD5 6e4171b60649ff7156bd210fed6be749 files/digest-gauche-gtk-0.3 63 MD5 bd8bbfa0aae1a2c053ecfca70fdcd682 files/digest-gauche-gtk-0.3.1 65 diff --git a/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3.1 b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3.1 new file mode 100644 index 000000000000..a5d7172b4e6c --- /dev/null +++ b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3.1 @@ -0,0 +1 @@ +MD5 56242c3eacab8d175ca7df7e15eff64d Gauche-gtk-0.3.1.tgz 265813 diff --git a/dev-lisp/gauche-gtk/gauche-gtk-0.3.1.ebuild b/dev-lisp/gauche-gtk/gauche-gtk-0.3.1.ebuild new file mode 100644 index 000000000000..493729f4ad6b --- /dev/null +++ b/dev-lisp/gauche-gtk/gauche-gtk-0.3.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/gauche-gtk-0.3.1.ebuild,v 1.1 2003/10/16 14:43:33 karltk Exp $ + +inherit eutils + +IUSE="opengl" + +MY_P="${P/g/G}" + +DESCRIPTION="GTK2 binding for Gauche" +HOMEPAGE="http://gauche.sf.net/" +SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz" + +LICENSE="BSD" +KEYWORDS="~x86" +SLOT="0" +S="${WORKDIR}/${MY_P}" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" +RDEPEND=">=x11-libs/gtk+-2* + >=dev-lisp/gauche-0.7.2 + opengl? ( >=x11-libs/gtkglext-0.6.0 )" + +src_compile() { + + local myconf myflags + + use opengl && myconf="--enable-gtkgl" + + + myflags=${CFLAGS} + unset CFLAGS CXXFLAGS + + econf ${myconf} || die + emake stubs || die + emake OPTFLAGS="${myflags}" || die + +} + +src_install() { + + dodir $(gauche-config --syslibdir) + dodir $(gauche-config --sysincdir) + dodir $(gauche-config --sysarchdir) + + make DESTDIR=${D} install || die + + dodoc ChangeLog README COPYING + + + docinto examples + for f in examples/*; do + [ -f ${f} ] && dodoc ${f} + done + + docinto examples/gtk-tutorial + dodoc examples/gtk-tutorial/* + + if use opengl; then + docinto examples/gtkglext + dodoc examples/gtkglext/* + fi + +} + +pkg_postinst() { + + if use opengl; then + einfo "If you want to use OpenGL with Gauche, please emerge Gauche-gl." + fi + +} |