diff options
author | Alexis Ballier <aballier@gentoo.org> | 2013-10-12 08:42:42 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2013-10-12 08:42:42 +0000 |
commit | eb904db714a3f17525122d1be161c04a3de5637b (patch) | |
tree | 6a8ed5ea09c3a1a064e283490d12938e2879763a /dev-ml/lablgl | |
parent | version bump (diff) | |
download | historical-eb904db714a3f17525122d1be161c04a3de5637b.tar.gz historical-eb904db714a3f17525122d1be161c04a3de5637b.tar.bz2 historical-eb904db714a3f17525122d1be161c04a3de5637b.zip |
version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0x160F534A
Diffstat (limited to 'dev-ml/lablgl')
-rw-r--r-- | dev-ml/lablgl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/lablgl/Manifest | 12 | ||||
-rw-r--r-- | dev-ml/lablgl/lablgl-1.05.ebuild | 90 |
3 files changed, 103 insertions, 6 deletions
diff --git a/dev-ml/lablgl/ChangeLog b/dev-ml/lablgl/ChangeLog index 438263728c16..7c86f1848fff 100644 --- a/dev-ml/lablgl/ChangeLog +++ b/dev-ml/lablgl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/lablgl # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.70 2013/07/22 12:26:23 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.71 2013/10/12 08:42:38 aballier Exp $ + +*lablgl-1.05 (12 Oct 2013) + + 12 Oct 2013; Alexis Ballier <aballier@gentoo.org> +lablgl-1.05.ebuild: + version bump 22 Jul 2013; Alexis Ballier <aballier@gentoo.org> -lablgl-1.04.ebuild: remove old diff --git a/dev-ml/lablgl/Manifest b/dev-ml/lablgl/Manifest index abc4a9b8d827..42ed43bf45ff 100644 --- a/dev-ml/lablgl/Manifest +++ b/dev-ml/lablgl/Manifest @@ -2,13 +2,15 @@ Hash: SHA256 DIST lablgl-1.04.tar.gz 410525 SHA256 3fedf5537069481b95836e8495380c742af7b87cfecd105fff1b98e40cac3b3e SHA512 6ae9ed365c390e06bba45214e62ad1479f96cec8087672d543fb18bd20643be0adf52c53e3b19031976eb833880be1f30c3c705d87dea5f7ed4488b57781e084 WHIRLPOOL efb03beeb18277d374c7fbbdf32aa2be4d7f2e23c31322de2b2e37d6b636e44bb4432bdca08c401af326abc4f729c21df2551e63a90193a5bbea95d7018d05d0 +DIST lablgl-1.05.tar.gz 296597 SHA256 d8ff03e35b970d2b23a942f9e6ed65da5a6c123986bd0ecf5424a6205af34b61 SHA512 e8bf7d993610912d50ec3a6c18a24d2ff7d0727a41fe102e745050bb83ee02a9995e8b1b8c7dbd94f6b2a8363145f22e9772e36253dced762a63ec3c6c54379d WHIRLPOOL 74e9b15b2085d82c90f73cdf1d5330ced5cdc484d9775fe83c1cfdae6784e113d21ef53bdbb88ea02615bda0cc824f730fc0772dba3b486b2298c8dedcd9476f EBUILD lablgl-1.04-r1.ebuild 2445 SHA256 1e11c7460314f50bdbf57f328527c14d983fe3ed426ad2799a3a9bbdb69e253d SHA512 18caf18d80150a79e5d66bdc65f74f5e147329c2e36c40f1add8d7bf0d32c451b3ec516261ea877a00e1e832a88c930ba7dc2174ce8c501478d616583ccf9374 WHIRLPOOL a72064789e99499f1a225d81f04a64dd3fd2dfbd7ca89053c52d2fa223a0d19e7a0f50637b3bf47a056debbd6ac74e187ab5f9a336c9ce0d6afa75ec8b1da74c -MISC ChangeLog 9233 SHA256 da84a85690b7648ad9450f0d0054cea08bf0a8de6c86711d93ae32e7b5e86771 SHA512 206ca619e649754d147305768a266b00cab8c183f267f346247a387d9de377e1a92a4071416026747619ce9bb3dc5d7f7df5a722b8ef5910a281e3f1bce4a10f WHIRLPOOL 1abf6eb17e6e20b048568eb9d4c2a8f65a942248150ddd67f6259ab1d8f672a398bb69451c830a12d04b83e5f0d79da1a159aaf020be1dc7d7d28d1eaf9b40c6 +EBUILD lablgl-1.05.ebuild 2098 SHA256 a45c9cb743022a2bcd275976ae6cda531f7f3fbabe33c0d4090f47e5c16515b8 SHA512 1ca178041fee6e60e8e069ac7f6279695213a3b074674bcc738903d6077049b0601ec4de3bf92d72010b9ff680b016500c4e3881a814126663e543779690a6db WHIRLPOOL 1118b1aed0692e0fcf884d8fe735b809967715f8d8ef2509eb29936e822524279d9cd7b4b6e8dc359be83b6038c3a196f68515ea0b2331fbf1cb66a4bdb22148 +MISC ChangeLog 9350 SHA256 14ed16f362ec7e2045a7e97da3c110557de53cdbafd43172c75e2f798c20c83b SHA512 50ede18507ff00724423a2784c3220591ddc8c2d7439600cf3d75f00eb1a3516240dcce2063d8bcd786b5fcb8e47264ce0401160286d3cb046afe2833c5f538d WHIRLPOOL a39b466cc3f95d6ac03157f4635a94bf5244c636e93f467a03a19d87e0f00795f255ec6d48b846ec1cc5207a826985c608109dd0653372af1244c51c8beacdc0 MISC metadata.xml 157 SHA256 d14b8b08774f2a40f42d70ff40b1b4f1c4725e7095d702143a32909553eac799 SHA512 5e4a17ffdcc021c3d28f9ac71f8ec0b35a243e269281ba7db2e17845d7990221040ab16db6fa13c708f7d8db154d8d65d2d7f80f3a7dd84bc001449369738f2f WHIRLPOOL 79ae48d5df04eab0d90848c85d48c62b0e3901cc5c9a74d0b85de5becac5de0f55a3c9c719bf716bb757cfd8be306a222f247a0749fb346f6589893698b25c63 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlHtJPEACgkQvFcC4BYPU0oJbACgsIsTUv1QyKK9nnuhYJgDOsXu -wFoAoLdSc5D3yIX/ErqhARUHpD19+VA/ -=xNLo +iEYEAREIAAYFAlJZC4AACgkQvFcC4BYPU0pNVgCgwnqmv5MML6yqZkBPbdeQE1ly +X8cAn3365xeQjXwzxzCoMOK7sYqhdGrF +=n1cw -----END PGP SIGNATURE----- diff --git a/dev-ml/lablgl/lablgl-1.05.ebuild b/dev-ml/lablgl/lablgl-1.05.ebuild new file mode 100644 index 000000000000..88e9730de688 --- /dev/null +++ b/dev-ml/lablgl/lablgl-1.05.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-1.05.ebuild,v 1.1 2013/10/12 08:42:38 aballier Exp $ + +EAPI="5" + +inherit multilib eutils toolchain-funcs + +IUSE="doc glut +ocamlopt tk" + +DESCRIPTION="Objective CAML interface for OpenGL" +HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html" +LICENSE="BSD" + +RDEPEND=" + >=dev-lang/ocaml-3.10.2:=[tk?,ocamlopt?] + x11-libs/libXext + x11-libs/libXmu + x11-libs/libX11 + virtual/opengl + virtual/glu + glut? ( media-libs/freeglut ) + tk? ( >=dev-lang/tcl-8.3 >=dev-lang/tk-8.3 ) + " + +DEPEND="${RDEPEND}" + +SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" + +src_configure() { + # make configuration file + echo "BINDIR=/usr/bin" > Makefile.config + echo "GLLIBS = -lGL -lGLU" >> Makefile.config + if use glut; then + echo "GLUTLIBS = -lglut" >> Makefile.config + else + echo "GLUTLIBS = " >> Makefile.config + fi + 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 +} + +src_compile() { + if use tk; then + emake togl + if use ocamlopt; then + emake toglopt + fi + fi + + emake lib + if use ocamlopt; then + emake libopt + fi + + if use glut; then + emake glut + if use ocamlopt; then + emake glutopt + fi + 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=${ED}/usr/bin + BASE=${ED}/usr/$(get_libdir)/ocaml + emake BINDIR="${BINDIR}" INSTALLDIR="${BASE}/lablGL" DLLDIR="${BASE}/stublibs" install + + 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 +} |