summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-08-07 22:16:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-08-07 22:16:24 +0000
commit4d77769651c3e6ff2ff70fe58571f022dab7f371 (patch)
tree99c9a54fa5061f21f7d578d079c7739aca3b4aa3 /dev-ml/lablgl
parentStable on alpha, bug #232054 (diff)
downloadgentoo-2-4d77769651c3e6ff2ff70fe58571f022dab7f371.tar.gz
gentoo-2-4d77769651c3e6ff2ff70fe58571f022dab7f371.tar.bz2
gentoo-2-4d77769651c3e6ff2ff70fe58571f022dab7f371.zip
remove old
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'dev-ml/lablgl')
-rw-r--r--dev-ml/lablgl/ChangeLog6
-rw-r--r--dev-ml/lablgl/files/lablgl-1.00-Makefile.config14
-rw-r--r--dev-ml/lablgl/lablgl-1.00.ebuild95
3 files changed, 5 insertions, 110 deletions
diff --git a/dev-ml/lablgl/ChangeLog b/dev-ml/lablgl/ChangeLog
index 2ecb9c408c7a..006ef1a43199 100644
--- a/dev-ml/lablgl/ChangeLog
+++ b/dev-ml/lablgl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/lablgl
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.50 2008/05/12 16:12:01 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.51 2008/08/07 22:16:23 aballier Exp $
+
+ 07 Aug 2008; Alexis Ballier <aballier@gentoo.org>
+ -files/lablgl-1.00-Makefile.config, -lablgl-1.00.ebuild:
+ remove old
12 May 2008; Markus Meier <maekke@gentoo.org> lablgl-1.03-r1.ebuild:
amd64 stable, bug #217545
diff --git a/dev-ml/lablgl/files/lablgl-1.00-Makefile.config b/dev-ml/lablgl/files/lablgl-1.00-Makefile.config
deleted file mode 100644
index 3ce6c075bb8f..000000000000
--- a/dev-ml/lablgl/files/lablgl-1.00-Makefile.config
+++ /dev/null
@@ -1,14 +0,0 @@
-BINDIR = /usr/bin
-XINCLUDES = -I/usr/X11R6/include
-XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11
-GLINCLUDES =
-GLLIBS = -lGL -lGLU -lglut
-RANLIB = ranlib
-LIBDIR = `ocamlc -where`
-LABLTKDIR = $(LIBDIR)/labltk
-INSTALLDIR = $(LIBDIR)/lablGL
-TOGLDIR = Togl
-COPTS = -c -O $(CFLAGS)
-INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)
-LIBS = $(TKLIBS) $(GLLIBS) $(XLIBS)
-LIBDIRS = \ No newline at end of file
diff --git a/dev-ml/lablgl/lablgl-1.00.ebuild b/dev-ml/lablgl/lablgl-1.00.ebuild
deleted file mode 100644
index a56e274146cd..000000000000
--- a/dev-ml/lablgl/lablgl-1.00.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-1.00.ebuild,v 1.25 2007/08/07 13:12:23 uberlord Exp $
-
-inherit multilib eutils
-
-IUSE="tk glut doc"
-
-DESCRIPTION="Objective CAML interface for OpenGL"
-HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html"
-LICENSE="as-is"
-
-DEPEND=">=dev-lang/ocaml-3.05
- virtual/opengl
- glut? ( virtual/glut )
- tk? (
- >=dev-lang/tcl-8.3
- >=dev-lang/tk-8.3
- )"
-
-SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~x86-fbsd"
-
-pkg_setup()
-{
- if ( use tk )
- then
- #lablgl requires ocaml compiled with tk support while ocaml has it as an optional dependency
- if ( ! built_with_use dev-lang/ocaml tk )
- then
- eerror "You don't have ocaml compiled with tk support"
- eerror ""
- eerror "lablgl requires ocaml be built with tk support."
- eerror ""
- eerror "Please recompile ocaml with tk useflag enabled."
- epause 5
- die "Ocaml is missing tk support";
- fi
- fi
-}
-
-src_compile() {
- # make configuration file
- cp ${FILESDIR}/${P}-Makefile.config ${S}/Makefile.config || die
-
- if ! (use glut); then
- sed -i "s/-lglut//" Makefile.config
- fi
-
- if use tk; then
- make togl toglopt
- fi
-
- if use glut; then
- make glut glutopt
- else
- make lib libopt
- fi
-}
-
-src_install () {
- # Makefile do not use mkdir so the library is not installed
- # but copied as a 'stublibs' file.
- dodir /usr/$(get_libdir)/ocaml/stublibs
-
- # Same for lablglut's toplevel
- dodir /usr/bin
-
- BINDIR=${D}/usr/bin
- BASE=${D}/usr/$(get_libdir)/ocaml
- make BINDIR=${BINDIR} INSTALLDIR=${BASE}/lablGL DLLDIR=${BASE}/stublibs install || die
-
- dodoc README CHANGES COPYRIGHT
-
- if ( use doc && use tk ) then
- DIR=usr/share/doc/${PF}
- cp -R Togl/examples/ ${D}/${DIR}/examples.togl
- fi
-
- if ( use glut ) then
- cd LablGlut
- newdoc README README.glut
- newdoc ChangeLog ChangeLog.glut
- newdoc CHANGES CHANGES.glut
- newdoc COPYRIGHT COPYRIGHT.glut
- newdoc THANKS THANKS.glut
- newdoc TODO TODO.glut
-
- if ( use doc ) then
- DIR=usr/share/doc/${PF}
- cp -R examples ${D}/${DIR}/examples.glut
- fi
- fi
-}