1 |
commit: 1b61b0c8e294654c7b1dc5a1ad405d6feeab9483 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 05:56:08 2020 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 05:57:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b61b0c8 |
7 |
|
8 |
dev-ml/lablgl: remove old |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
dev-ml/lablgl/lablgl-1.06.ebuild | 92 ---------------------------------------- |
13 |
1 file changed, 92 deletions(-) |
14 |
|
15 |
diff --git a/dev-ml/lablgl/lablgl-1.06.ebuild b/dev-ml/lablgl/lablgl-1.06.ebuild |
16 |
deleted file mode 100644 |
17 |
index 1b6cd22e065..00000000000 |
18 |
--- a/dev-ml/lablgl/lablgl-1.06.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,92 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-inherit toolchain-funcs |
27 |
- |
28 |
-DESCRIPTION="Objective CAML interface for OpenGL" |
29 |
-HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html" |
30 |
-SRC_URI="https://github.com/garrigue/lablgl/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
31 |
- |
32 |
-LICENSE="BSD" |
33 |
-SLOT="0/${PV}" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
35 |
-IUSE="doc glut +ocamlopt tk" |
36 |
- |
37 |
-RDEPEND=" |
38 |
- >=dev-lang/ocaml-3.10.2:=[ocamlopt?] |
39 |
- x11-libs/libXext |
40 |
- x11-libs/libXmu |
41 |
- x11-libs/libX11 |
42 |
- virtual/opengl |
43 |
- virtual/glu |
44 |
- glut? ( media-libs/freeglut ) |
45 |
- tk? ( |
46 |
- >=dev-lang/tcl-8.3:0= |
47 |
- >=dev-lang/tk-8.3:0= |
48 |
- dev-ml/labltk:= |
49 |
- ) |
50 |
-" |
51 |
-DEPEND="${RDEPEND}" |
52 |
- |
53 |
-src_configure() { |
54 |
- # make configuration file |
55 |
- echo "BINDIR=/usr/bin" > Makefile.config || die |
56 |
- echo "GLLIBS = -lGL -lGLU" >> Makefile.config || die |
57 |
- if use glut; then |
58 |
- echo "GLUTLIBS = -lglut" >> Makefile.config || die |
59 |
- else |
60 |
- echo "GLUTLIBS = " >> Makefile.config || die |
61 |
- fi |
62 |
- echo "XLIBS = -lXext -lXmu -lX11" >> Makefile.config || die |
63 |
- echo "RANLIB = $(tc-getRANLIB)" >> Makefile.config || die |
64 |
- echo 'COPTS = -c -O $(CFLAGS)' >> Makefile.config || die |
65 |
- echo 'INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)' >> Makefile.config || die |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- if use tk; then |
70 |
- emake togl |
71 |
- if use ocamlopt; then |
72 |
- emake toglopt |
73 |
- fi |
74 |
- fi |
75 |
- |
76 |
- emake lib |
77 |
- if use ocamlopt; then |
78 |
- emake libopt |
79 |
- fi |
80 |
- |
81 |
- if use glut; then |
82 |
- emake glut |
83 |
- if use ocamlopt; then |
84 |
- emake glutopt |
85 |
- fi |
86 |
- fi |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- # Makefile do not use mkdir so the library is not installed |
91 |
- # but copied as a 'stublibs' file. |
92 |
- dodir /usr/$(get_libdir)/ocaml/stublibs |
93 |
- |
94 |
- # Same for lablglut's toplevel |
95 |
- if use tk ; then |
96 |
- dodir /usr/bin |
97 |
- fi |
98 |
- |
99 |
- BINDIR="${ED}/usr/bin" |
100 |
- BASE="${ED}/usr/$(get_libdir)/ocaml" |
101 |
- emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install |
102 |
- |
103 |
- dodoc README CHANGES |
104 |
- |
105 |
- if use doc ; then |
106 |
- mv Togl/examples{,.togl} || die |
107 |
- dodoc -r Togl/examples.togl |
108 |
- |
109 |
- mv LablGlut/examples{,.glut} || die |
110 |
- dodoc -r LablGlut/examples.glut |
111 |
- fi |
112 |
-} |