summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2011-08-13 10:23:36 +0000
committerAkinori Hattori <hattya@gentoo.org>2011-08-13 10:23:36 +0000
commitf5d106db583b9ccba02695140fc4c9cab334762e (patch)
tree25c12519b581f1d62f37a0e1337bbc134cc4abc6 /dev-scheme
parentstable on x86. (diff)
downloadgentoo-2-f5d106db583b9ccba02695140fc4c9cab334762e.tar.gz
gentoo-2-f5d106db583b9ccba02695140fc4c9cab334762e.tar.bz2
gentoo-2-f5d106db583b9ccba02695140fc4c9cab334762e.zip
new upstream release.
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/gauche-gl/ChangeLog7
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-scheme/gauche-gl/ChangeLog b/dev-scheme/gauche-gl/ChangeLog
index 9c4d0d3a7e7e..439517a50a71 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.20 2011/08/13 10:13:50 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.21 2011/08/13 10:23:36 hattya Exp $
+
+*gauche-gl-0.5.1 (13 Aug 2011)
+
+ 13 Aug 2011; Akinori Hattori <hattya@gentoo.org> +gauche-gl-0.5.1.ebuild:
+ new upstream release.
13 Aug 2011; Akinori Hattori <hattya@gentoo.org> -gauche-gl-0.4.4.ebuild,
gauche-gl-0.5.ebuild, -files/gauche-gl-prototypes.diff:
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
new file mode 100644
index 000000000000..eb091c30b1b9
--- /dev/null
+++ b/dev-scheme/gauche-gl/gauche-gl-0.5.1.ebuild
@@ -0,0 +1,54 @@
+# 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.1.ebuild,v 1.1 2011/08/13 10:23:36 hattya Exp $
+
+EAPI="4"
+
+inherit eutils
+
+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"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="cg examples"
+
+RDEPEND=">=dev-scheme/gauche-0.9.2
+ virtual/opengl
+ media-libs/freeglut
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ local myconf
+ use cg && myconf="--enable-cg"
+
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog README
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc examples/*.scm
+ # install simple
+ dodoc -r examples/simple
+ # install glbook
+ dodoc -r examples/glbook
+ dodoc -r examples/images
+ # install slbook
+ dodoc -r examples/slbook
+ # install cg examples
+ if use cg; then
+ dodoc -r examples/cg
+ fi
+ fi
+}