summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2011-06-14 14:42:41 +0000
committerAkinori Hattori <hattya@gentoo.org>2011-06-14 14:42:41 +0000
commit968c1979464d5d65ab441dd00225cd1eaa01fbd6 (patch)
treef31a6958501a17784b211a02dd8480458d7ae2c5 /dev-scheme/gauche-gl
parenthttp://my.opera.com/desktopteam/blog/2011/06/14/happy-tuesday (diff)
downloadgentoo-2-968c1979464d5d65ab441dd00225cd1eaa01fbd6.tar.gz
gentoo-2-968c1979464d5d65ab441dd00225cd1eaa01fbd6.tar.bz2
gentoo-2-968c1979464d5d65ab441dd00225cd1eaa01fbd6.zip
new upstream release.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'dev-scheme/gauche-gl')
-rw-r--r--dev-scheme/gauche-gl/ChangeLog9
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.5.ebuild70
2 files changed, 77 insertions, 2 deletions
diff --git a/dev-scheme/gauche-gl/ChangeLog b/dev-scheme/gauche-gl/ChangeLog
index aef8ec8b30d0..b65c23302a19 100644
--- a/dev-scheme/gauche-gl/ChangeLog
+++ b/dev-scheme/gauche-gl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-scheme/gauche-gl
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.18 2010/09/16 17:50:33 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.19 2011/06/14 14:42:41 hattya Exp $
+
+*gauche-gl-0.5 (14 Jun 2011)
+
+ 14 Jun 2011; Akinori Hattori <hattya@gentoo.org> +gauche-gl-0.5.ebuild:
+ new upstream release.
16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
gauche-gl-0.4.4.ebuild:
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.5.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.5.ebuild
new file mode 100644
index 000000000000..5f8f363063bb
--- /dev/null
+++ b/dev-scheme/gauche-gl/gauche-gl-0.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.5.ebuild,v 1.1 2011/06/14 14:42:41 hattya Exp $
+
+EAPI="3"
+
+inherit eutils
+
+IUSE="cg examples"
+
+MY_P="${P/g/G}"
+
+DESCRIPTION="OpenGL binding for Gauche"
+HOMEPAGE="http://practical-scheme.net/gauche"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+LICENSE="BSD"
+KEYWORDS="~ppc ~x86"
+SLOT="0"
+S="${WORKDIR}/${MY_P}"
+
+DEPEND=">=dev-scheme/gauche-0.9.1
+ virtual/opengl
+ media-libs/freeglut
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myconf
+ use cg && myconf="--enable-cg"
+
+ econf ${myconf} || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README ChangeLog || die
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.scm
+
+ # install simple
+ docinto examples/simple
+ dodoc examples/simple/*
+
+ # install glbook
+ docinto examples/glbook
+ dodoc examples/glbook/*
+
+ docinto examples/images
+ dodoc examples/images/*
+
+ # install slbook
+ docinto examples/slbook
+ dodoc examples/slbook/*
+
+ docinto examples/slbook/ogl2brick
+ dodoc examples/slbook/ogl2brick/*
+
+ docinto examples/slbook/ogl2particle
+ dodoc examples/slbook/ogl2particle/*
+
+ # install cg examples
+ if use cg; then
+ docinto examples/cg
+ dodoc examples/cg/*
+ fi
+ fi
+}