diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/lablgl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/lablgl/Manifest | 26 | ||||
-rw-r--r-- | dev-ml/lablgl/files/digest-lablgl-1.03 | 3 | ||||
-rw-r--r-- | dev-ml/lablgl/lablgl-1.03.ebuild | 73 |
4 files changed, 104 insertions, 5 deletions
diff --git a/dev-ml/lablgl/ChangeLog b/dev-ml/lablgl/ChangeLog index 26511fa2b10b..df8371499028 100644 --- a/dev-ml/lablgl/ChangeLog +++ b/dev-ml/lablgl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/lablgl # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.40 2007/08/07 13:12:23 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.41 2007/12/11 10:12:47 aballier Exp $ + +*lablgl-1.03 (11 Dec 2007) + + 11 Dec 2007; Alexis Ballier <aballier@gentoo.org> +lablgl-1.03.ebuild: + version bump 07 Aug 2007; Roy Marples <uberlord@gentoo.org> lablgl-1.00.ebuild: Keyworded ~x86-fbsd diff --git a/dev-ml/lablgl/Manifest b/dev-ml/lablgl/Manifest index 4e79b2a5a070..3651d841024e 100644 --- a/dev-ml/lablgl/Manifest +++ b/dev-ml/lablgl/Manifest @@ -1,16 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX lablgl-1.00-Makefile.config 371 RMD160 49001982571e098388740d7a4fbc2437647d1ae8 SHA1 59bc604ad8f4c1341c8fd2cbb910a99a5441babe SHA256 124d2887a3be76a38af2e427d8074561941dfe209129db692e844acf91f8b98e MD5 fe2f6d4854f565091bda3022e0a62b31 files/lablgl-1.00-Makefile.config 371 RMD160 49001982571e098388740d7a4fbc2437647d1ae8 files/lablgl-1.00-Makefile.config 371 SHA256 124d2887a3be76a38af2e427d8074561941dfe209129db692e844acf91f8b98e files/lablgl-1.00-Makefile.config 371 DIST lablgl-1.00.tar.gz 390570 RMD160 b61fb3d7311becbf9be3f54256a3bec76481b615 SHA1 73da3b3673112e4cf130b3ee73c16268641862c8 SHA256 f52558487b545776f29658f2c2d12c58c3915760818a6acb9847cb3b0d060a71 +DIST lablgl-1.03.tar.gz 389404 RMD160 b4214c2ca6e88d6dc6ebe09b1ca8c60cc5341e0c SHA1 f86de74e4f14d8a636fa87d9d4307ab35a214049 SHA256 f4dcb28cb11e9a0791ba4d35eb86d9dcb19d8d4d0f3171dd18ede4c8d5e002db EBUILD lablgl-1.00.ebuild 2240 RMD160 c835af0dcf830c14b332344ca6014a58d5603c7b SHA1 dca39f01f2187fa36ccf753c17c703882f35e536 SHA256 9ca8815ad99d7ca679325034acb74401191917367bb3296dc1aead6a354ca439 MD5 f42e1acc32bbbe2599cb3a7c0164a522 lablgl-1.00.ebuild 2240 RMD160 c835af0dcf830c14b332344ca6014a58d5603c7b lablgl-1.00.ebuild 2240 SHA256 9ca8815ad99d7ca679325034acb74401191917367bb3296dc1aead6a354ca439 lablgl-1.00.ebuild 2240 -MISC ChangeLog 5696 RMD160 ec93444800dfb88c27de04d076cb3ecc8a07763d SHA1 af9587787bea75e12f51811a9fe5e088e41860d7 SHA256 62e13ee149d09bb6873783f1bb5cb82a3c216abe43b6af671069aaa29eecb4cd -MD5 11c0be2fb1148ee529fbbe3c4ff5056d ChangeLog 5696 -RMD160 ec93444800dfb88c27de04d076cb3ecc8a07763d ChangeLog 5696 -SHA256 62e13ee149d09bb6873783f1bb5cb82a3c216abe43b6af671069aaa29eecb4cd ChangeLog 5696 +EBUILD lablgl-1.03.ebuild 2084 RMD160 910553a9b6448e9047485bb14b3d4c04a8b2c478 SHA1 8ed771aa946753934cfd2d415670048efdb5b649 SHA256 d8b35ceefe361ba1e334bef71b05234947bf5135cc94765543f37fd7e15d181f +MD5 6c8d8df3d542df5a3f8896705f3b9e9c lablgl-1.03.ebuild 2084 +RMD160 910553a9b6448e9047485bb14b3d4c04a8b2c478 lablgl-1.03.ebuild 2084 +SHA256 d8b35ceefe361ba1e334bef71b05234947bf5135cc94765543f37fd7e15d181f lablgl-1.03.ebuild 2084 +MISC ChangeLog 5813 RMD160 b155e233d0995a8ad55663d29e00738ed333ea1f SHA1 35e3e4248cc89fa0b0d1398b0043ddf17c4fdb9a SHA256 661006d7a3a8699d452ca737e87b3fd988676c1620be093b022a5c3160727b39 +MD5 e7b14a9fa724a1a89134708fa9177a63 ChangeLog 5813 +RMD160 b155e233d0995a8ad55663d29e00738ed333ea1f ChangeLog 5813 +SHA256 661006d7a3a8699d452ca737e87b3fd988676c1620be093b022a5c3160727b39 ChangeLog 5813 MISC metadata.xml 157 RMD160 30153301a2a5cca5547a6e47941aae2895837613 SHA1 66e87d50f913856e703f3ee29841b03332af40db SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799 MD5 648a541494aceee26dbcfd76164f37ea metadata.xml 157 RMD160 30153301a2a5cca5547a6e47941aae2895837613 metadata.xml 157 @@ -18,3 +26,13 @@ SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799 metadata MD5 f3d271f156797c4bc3885025d90d5719 files/digest-lablgl-1.00 235 RMD160 e7fa3378db8bc4a3c0723f885169a1514af39fff files/digest-lablgl-1.00 235 SHA256 40ac39f65a6d553e6cf5f0a2e0fbefabe11273a1aa96574953d625c7426f6a1d files/digest-lablgl-1.00 235 +MD5 488e0dc9fa972b594e5a858ff85901d4 files/digest-lablgl-1.03 235 +RMD160 5e16b4ac06ff297c38088fabb50627198ebb916c files/digest-lablgl-1.03 235 +SHA256 9ab68e91cf52b83ee9ff62ad4d639f8f0d32a177de138ee2bca1502b36d74d3a files/digest-lablgl-1.03 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHXmK5vFcC4BYPU0oRAvSIAJ9SYDBbdOcqFCAULf2ixoeNoxHdUwCgxqsM +14KxcbBQ/b38WiggOmgAd4Y= +=qWT+ +-----END PGP SIGNATURE----- diff --git a/dev-ml/lablgl/files/digest-lablgl-1.03 b/dev-ml/lablgl/files/digest-lablgl-1.03 new file mode 100644 index 000000000000..6a281ff827e3 --- /dev/null +++ b/dev-ml/lablgl/files/digest-lablgl-1.03 @@ -0,0 +1,3 @@ +MD5 1c16eb9298314b764851bc7d15fae88f lablgl-1.03.tar.gz 389404 +RMD160 b4214c2ca6e88d6dc6ebe09b1ca8c60cc5341e0c lablgl-1.03.tar.gz 389404 +SHA256 f4dcb28cb11e9a0791ba4d35eb86d9dcb19d8d4d0f3171dd18ede4c8d5e002db lablgl-1.03.tar.gz 389404 diff --git a/dev-ml/lablgl/lablgl-1.03.ebuild b/dev-ml/lablgl/lablgl-1.03.ebuild new file mode 100644 index 000000000000..8bf3327732cf --- /dev/null +++ b/dev-ml/lablgl/lablgl-1.03.ebuild @@ -0,0 +1,73 @@ +# 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.03.ebuild,v 1.1 2007/12/11 10:12:47 aballier Exp $ + +inherit multilib eutils toolchain-funcs + +IUSE="doc" + +DESCRIPTION="Objective CAML interface for OpenGL" +HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html" +LICENSE="BSD" + +DEPEND=">=dev-lang/ocaml-3.05 + virtual/opengl + x11-libs/libXext + x11-libs/libXmu + x11-libs/libX11 + virtual/glut + >=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 ! 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." + die "Ocaml is missing tk support" + fi +} + +src_compile() { + # make configuration file + echo "BINDIR=/usr/bin" > Makefile.config + echo "GLLIBS = -lGL -lGLU" >> Makefile.config + echo "GLUTLIBS = -lglut" >> Makefile.config + echo "XLIBS = -lXext -lXmu -lX11" >> Makefile.config + echo "RANLIB = $(tc-getRANLIB)" >> Makefile.config + echo 'COPTS = -c -O $(CFLAGS)' >> Makefile.config + echo 'INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)' >> Makefile.config + + emake -j1 || die "failed to build" + emake -j1 opt || die "failed to build opt" +} + +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 + emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install || die "make install failed" + + dodoc README CHANGES + + if use doc ; then + insinto /usr/share/doc/${PF} + mv Togl/examples{,.togl} + doins -r Togl/examples.togl + + mv LablGlut/examples{,.glut} + doins -r LablGlut/examples.glut + fi +} |