diff options
author | 2002-07-19 23:16:45 +0000 | |
---|---|---|
committer | 2002-07-19 23:16:45 +0000 | |
commit | 301a0b6c71e3232ae5857c4832c2cbb027acd55e (patch) | |
tree | 856f3f6aa5b852d45672843c6aeae43136fd4c7c /dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild | |
parent | Revision bump, 0.1.15 had 2 minor issues in the new dep-clean see ChangeLog (diff) | |
download | historical-301a0b6c71e3232ae5857c4832c2cbb027acd55e.tar.gz historical-301a0b6c71e3232ae5857c4832c2cbb027acd55e.tar.bz2 historical-301a0b6c71e3232ae5857c4832c2cbb027acd55e.zip |
"Gauche OpenGL 1.1 bindings; initial import"
Diffstat (limited to 'dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild')
-rw-r--r-- | dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild b/dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild new file mode 100644 index 000000000000..5917f5719867 --- /dev/null +++ b/dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gl/gauche-gl-0.1.3.ebuild,v 1.1 2002/07/19 23:16:45 karltk Exp $ + +DESCRIPTION="OpenGL 1.1 bindings for Gauche" +HOMEPAGE="http://gauche.sf.net" +SRC_URI="mirror://sourceforge/gauche/Gauche-gl-${PV}.tgz" +LICENSE="BSD" +SLOT="0.1" +KEYWORDS="x86" +DEPEND="virtual/glibc + virtual/opengl + >=dev-lisp/gauche-0.6 + >=media-libs/glut-3.7" +RDEPEND="$DEPEND" +S=${WORKDIR}/Gauche-gl + +src_unpack() { + unpack Gauche-gl-${PV}.tgz || die + cd ${S} + patch -p1 < ${FILESDIR}/${PV}/nvidia-headers-gentoo.diff || die + patch -p1 < ${FILESDIR}/${PV}/destdir-gentoo.diff || die +} + +src_compile() { + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man || die "./configure failed" + #emake || die + make || die +} + +src_install () { + dodir `gauche-config --syslibdir` + dodir `gauche-config --sysarchdir` + dodir `gauche-config --sysincdir` + + make DESTDIR=${D} install || die + + dodoc COPYING README ChangeLog INSTALL* VERSION + local expls=/usr/share/${P}/examples + dodir ${expls}/glbook + insinto ${expls} + doins examples/mandelbrot.scm + insinto ${expls}/glbook + doins examples/glbook/* +} |